[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] How to create DNS entry via cgi script?
- Subject: Re: [cobalt-users] How to create DNS entry via cgi script?
- From: Jeff Lasman <jblists@xxxxxxxxxxxxx>
- Date: Tue Mar 28 19:23:22 2000
- Organization: nobaloney.net
moritz-julian@xxxxxx wrote:
> Hi,
>
> i am trying to write a cgi-script which automatically
> creates the dns entries for a domain and then registers
> it. I don't have any problems as far as registering a
> new domain name.
You're saying you've got a script that'll register a domain name with
one of the registrars without going through a web interface?
I'd like that <smile>.
> The only problem is that I didn't find
> the appropriate perl lib that creates the dns entries
> (two A records and one MX record) on a cobalt raq3...
> If anybody has any suggestions, I'd appreciate that
> very much.
Here's a good clue: Look at /etc/named/records.
If you add lines to that, and then run "Save Changes to DNS Server" from
the gui, it should do what you want.
Jeff
--
Jeff Lasman <jblists@xxxxxxxxxxxxx>
nobaloney.net
P. O. Box 52672
Riverside, CA 92517
voice: (909) 787-8589 * fax: (909) 782-0205