General Information
Client perspective checking DNS configuration.
The following virtual machines will be used:
View (dump) the current contents of the unbound cache
unbound-control dump_cache
Purge the cache: Single record
unbound-control flush myhost1.example.com
Purge the cache: Entire Zone
unbound-control flush example.com
Load cache from a file (dumped there previously)
unbound-control load_cache < cache.txt
Check to see what DNS servers are configured
cat /etc/resolv.conf
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
Dig returns a status indicator in the “Got Answer” section. Values can be: