This is an old revision of the document!
Troubleshoot DNS Client Issues
General Information
Client perspective checking DNS configuration.
Troubleshoot DNS From a Client
Check to see what DNS servers are configured
cat /etc/resolv.conf
- Take note of whether the file is controlled via NetworkManager. If so, then the DNS servers are set via that service/from /etc/sysconfig/network-scripts/
Ensure a route exists to the DNS server
ip route sh
Ping the DNS server
ping -c4 <ip-of-dns>
Check to see if you can connect to port 53
telnet <ip-of-dns> 53 OR nc -v -w 3 <ip-of-dns> 53
Test a domain lookup against the DNS server directly
dig @<ip-of-dns> google.com