Hi friends,
This is a weird problem I'm pitted against on my Fedora 9 server which I would like to have as a local dns caching server on my network.
What happens is that right after reboot, named refuses to listen on the ethernet interface. I have to do /etc/init.d/named restart to read the named.conf file again and begin working.
I came to know this through this log entry (showing the named restart cycle)
Code:
Aug 2 12:58:25 india named[2165]: received control channel command 'stop'
Aug 2 12:58:25 india named[2165]: shutting down: flushing changes
Aug 2 12:58:25 india named[2165]: stopping command channel on 127.0.0.1#953
Aug 2 12:58:25 india named[2165]: stopping command channel on ::1#953
Aug 2 12:58:25 india named[2165]: no longer listening on ::1#53
Aug 2 12:58:25 india named[2165]: no longer listening on 127.0.0.1#53
Aug 2 12:58:25 india named[2165]: exiting
Aug 2 12:58:28 india named[4122]: starting BIND 9.5.0-P1 -u named -t /var/named/chroot
Aug 2 12:58:28 india named[4122]: found 2 CPUs, using 2 worker threads
Aug 2 12:58:28 india named[4122]: loading configuration from '/etc/named.conf'
Aug 2 12:58:28 india named[4122]: the working directory is not writable
Aug 2 12:58:28 india named[4122]: listening on IPv6 interface lo, ::1#53
Aug 2 12:58:28 india named[4122]: listening on IPv4 interface lo, 127.0.0.1#53
Aug 2 12:58:28 india named[4122]: listening on IPv4 interface eth0, 192.168.1.6#53
The log file also contains many entries showing:
Code:
Aug 2 12:47:01 india named[2165]: too many timeouts resolving '1.fedora.pool.ntp.org/A' (in '.'?): disabling EDNS
which I cannot understand, but would like to get rid of.
My firewall ports are open, and things work well right after a named restart, but I certainly wouldn't like doing it after each reboot of the server.
Can anyone tell me what the problem is? Is it a bug in named?
I had added this entry to the named.conf file to listen on the ethernet interface:
Code:
listen-on port 53 { 127.0.0.1; 192.168.1.6; };
listen-on-v6 port 53 { ::1; };