I reboot the server (for whatever reason). The server loads as per normal. If I type in the IP Address for a site (i.e. 88.208.221.2) the website displays, but if I use
www.mydomain.com it does not resolve. So I restart etc/init.d/named and then I can view the website via
www.mydomain.com
If I run netstat straight after a server reboot, its only listening on 127.0.0.1 : 53
But when I restart /etc/init.d/named then it starts listening to all the ip addresses (see previous post).
When I look in var/log/messages it shows no errors.
This is the timeline of events with the logfile messages:
When I reboot and the server closes everything, it shows that its no longer listening...
Oct 23 00:19:28 server88-208-221-1 named[26277]: no longer listening on 88.208.223.2#53
Then when the server comes back online theres nothing new in the log file (no errors, and nothing to say that its listening to any IP addresses). I can view my website by typing
http://88.208.221.2/ but not accessible if I type in
http://www.mydomain.com/
So after a few minutes of no websites resolving, I run the command '/
etc/init.d/named status' and it shows named as '
up and running' but theres still no websites showing when I type in
www.mydomain.com in the web browser.
I then run the command '/
etc/init.d/named restart' and the websites start to appear when we use
www.mydomain.com. Then in the logfiles, it shows that its started listening...
Oct 23 00:24:15 server88-208-221-1 named[6143]: listening on IPv4 interface eth0:6, 88.208.223.2#53
Does this make sense?
This is not normal as it should be listening when I reboot the server.