Results 1 to 4 of 4
dear All I am using centOS 5.4 on my virtual machine.i have configured dns but it gives the following error when i restart the service. Stopping named: [ OK ] ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 08-10-2011 #1
- Join Date
- Apr 2011
I am using centOS 5.4 on my virtual machine.i have configured dns but it gives the following error when i restart the service.
Stopping named: [ OK ]
Error in named configuration:
zone localdomain/IN: loading master file localdomain.zone: file not found
_default/localdomain/IN: file not found
zone localhost/IN: loading master file localhost.zone: file not found
_default/localhost/IN: file not found
zone 0.0.127.in-addr.arpa/IN: loading master file named.local: file not found
_default/0.0.127.in-addr.arpa/IN: file not found
zone 0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0. 0.0.0.0.0.0.ip6.arpa/IN: loading master file named.ip6.local: file not found
_default/0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0. 0.0.0.0.0.0.ip6.arpa/IN: file not found
zone 255.in-addr.arpa/IN: loading master file named.broadcast: file not found
_default/255.in-addr.arpa/IN: file not found
zone 0.in-addr.arpa/IN: loading master file named.zero: file not found
_default/0.in-addr.arpa/IN: file not found
zone mydomain.com/IN: loading master file mydomain.com.fwd: file not found
_default/mydomain.com/IN: file not found
zone 1.168.192.in-addr.arpa/IN: loading master file mydomain.com.rev: file not found
_default/1.168.192.in-addr.arpa/IN: file not found
- 08-10-2011 #2
Well your DNS server can't find the files that you've created. Are you running your DNS server in the standard chroot jail? There's an additional package that configures this (I forget what it's called) and if you have that, all your files should be in (iirc) /var/named/chroot/var/named and the config should be in /var/named/etc/named.
If you're not running this variant, then you've probably used the wrong path to your config files.Linux user #126863 - see http://linuxcounter.net/
- 08-11-2011 #3
- Join Date
- May 2011
try installing caching-nameserver, will gives you the missing files.
- 08-11-2011 #4
Look at how you are starting nmaed with
ps -ef | grep named
/usr/sbin/named -u named -t /var/named/chroot
Tip: If you have SELinux enabled it will only allow named to write to data file in this jail. Good to know what you setup your slave.
The adventure of a life time.
Linux User #296285