LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   root hints not found in dns (https://www.linuxquestions.org/questions/linux-server-73/root-hints-not-found-in-dns-620245/)

packets 02-11-2008 03:16 AM

root hints not found in dns
 
I'm installing a backup dns server just incase a hardware failure occurs in my primary dns. I decided to install via rpm. Now. the problem is there an error when I'm trying to start the named. The error is:

Feb 11 17:30:51 rbl named: named startup succeeded
Feb 11 09:32:02 rbl named[19098]: starting BIND 9.2.3 -u named -t /var/named/chroot
Feb 11 09:32:02 rbl named[19098]: using 1 CPU
Feb 11 09:32:02 rbl named[19100]: loading configuration from '/etc/named.conf'
Feb 11 09:32:02 rbl named[19100]: listening on IPv4 interface lo, 127.0.0.1#53
Feb 11 09:32:02 rbl named[19100]: listening on IPv4 interface eth1, 202.84.20.56#53
Feb 11 09:32:02 rbl named[19100]: could not configure root hints from 'named.ca': file not found
Feb 11 09:32:02 rbl named[19100]: loading configuration: file not found
Feb 11 09:32:02 rbl named[19100]: exiting (due to fatal error)

I have named.ca to /var/named/chroot/etc. I did this by running:

dig @a.root-servers.net . ns >named.cache

I'm wondering why I still got this error and bind won't start.

Here is the entry in my named.conf:

zone "." IN {
type hint;
file "named.ca";
};

Any ideas?

bathory 02-11-2008 03:24 AM

Quote:

I have named.ca to /var/named/chroot/etc. I did this by running:
dig @a.root-servers.net . ns >named.cache
The zonefile for the "." zone you've created with the above command is named.cache. You should rename that file to named.ca according to named.conf you've posted.

packets 02-11-2008 06:18 PM

I rename it to named.ca but still got the same error

bathory 02-12-2008 02:00 AM

You're running named chrooted, so the correct named.conf should be in /var/named/chroot/etc/named.conf. Open that file and look for the "directory" option at the beginning. The put named.ca under /var/named/chroot/<path from directory option>/. Make also sure that this directory is readable foe user "named"


All times are GMT -5. The time now is 01:09 AM.