I'm trying to troubleshoot a problem with a new VPS i'm setting up.
The VPS is running Plesk 9 on a CentOS 5 system.
Everything works fine, except it doesn't serve dns requests.
If I try something like
nslookup [somedomain.com] the.ser.ver.ip
to test a DNS query, i get the following error
;; connection timed out; no servers could be reached
I can't telnet to it on port 42 either..
I'm guessing something is blocking the requests..
firewall maybe? the plesk firewall module is installed and the nameservers entry is green.
Any other way I can check what's blocking it on the server?
Any help/tip greatly appreciated.
Note: http works, i can telnet to the server on port 80 and i can also ping the server
Thanks
First try a lookup on the server itself. via SSH, execute:
This should produce output like:
If it doesn't, check that the nameserver is actually running. You didn't specify which nameserver, but for BIND you can restart it with:
If you do get an answer, it means the name server is running. Most likely the issue is a firewall. Examine the output of
iptables --list
, looking for lines like:Remember you'll need both UDP and TCP ports 53. If you have lines like that, make sure that the chain is actually being used also.