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? |
Quote:
|
I rename it to named.ca but still got the same error
|
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. |