LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Quick DNS question. (https://www.linuxquestions.org/questions/linux-software-2/quick-dns-question-160920/)

nfawcett 03-22-2004 08:59 AM

Quick DNS question.
 
Does this have to go at the end of your named.conf? Or can it go anywhere in the file?

zone "." {
type hint;
file "/etc/namedb/root.cache";
};

viniosity 03-22-2004 12:21 PM

In my named.conf (debian) it's nowhere near the end. It's actually closer to the start, appearing before the zone 0.0.127 and customized entries. Here's the section in question:

// reduce log verbosity on issues outside our control
logging {
category lame-servers { null; };
category cname { null; };
};

// prime the server with knowledge of the root servers
zone "." {
type hint;
file "/etc/bind/db.root";
};

// be authoritative for the localhost forward and reverse zones, and for
// broadcast zones as per RFC 1912


zone "0.0.127.in-addr.arpa" {
type master;
file "/etc/bind/db.127";
};

nfawcett 03-22-2004 12:30 PM

Thanks. Just wanted to make sure if i added zones after it that it wouldn't break existing ones.


All times are GMT -5. The time now is 11:02 AM.