[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-developers] Order of records in /etc/named/records
- Subject: Re: [cobalt-developers] Order of records in /etc/named/records
- From: John Keegan <john@xxxxxxxxxxxxx>
- Date: Fri Jan 26 10:00:02 2001
- List-id: Discussion Forum for developers on Cobalt Networks products <cobalt-developers.list.cobalt.com>
>> From looking at the way /usr/admserv/cgi-bin/.cobalt/dns/index.cgi does
> things, I think the order of records in /etc/named/records isn't relevant.
> I don't have a non-production RaQ3 to test things on, so a bit of feedback
> here would be nice <smile>.
You are correct, the order does not seem to matter. The dns cgi can parse
records properly no matter where they are located.
> The reason being, if order doesn't matter, I could simply add any DNS
> records I wanted to the end of the file, which would be much simpler than
> having to put them at some point in the middle of the file.
Yes, you could do that very easily. Just append the new records to
/etc/named/records , then restart named just by reloading
/usr/admserv/cgi-bin/.cobalt/dns/index.cgi . In Perl you would just do:
system "/usr/admserv/cgi-bin/.cobalt/dns/index.cgi";
--
John Keegan
john@xxxxxxxxxxxxx
http://RackShare.com