Chriz1977

Well-Known Member
Sep 18, 2006
191
0
166
Hi

All of a sudden, none of my websites on my server are working. Ping cant resolve them. Ive checked the dns and it all looks ok. Anyone got any ideas where to look next??

Cheers
Chriz
 

nimrodx

Active Member
Jul 24, 2005
43
0
156
Edinburgh, Scotland
The list is endless.

That's like saying "I walked into the room and it's cold but it should be warm. Any ideas people?"

If a ping can't resolve them you have a DNS issue. Is BIND running? Have you checked all the config files and zone files to make sure they're correct?

What happens if you try:

lynx Apache Status ?
 

Spiral

BANNED
Jun 24, 2005
2,018
8
193
You could have an error in your zone files (/var/named/*.db) or in your main configuration (/etc/named.conf) or you could possibly have access to DNS blocked or it could be something as simple as the DNS service (named) has not been started and is offline (common after reboots):

What does the following tell you?
Code:
# service named status
# service named restart
Also, anything useful from these?
Code:
# tail -50 /var/log/named.log
# grep "named" /var/log/messages | tail -50
If you got CSF or some other firewall installed, make sure that you have not blocked port number 53 as that will kill your DNS.

Similarly, if you harden your /etc/named.conf configuration and restrict the recursion and transfers, make sure your resolvers are whitelisted else you will again cutoff access to your DNS servers.