Lookup and reverse lookup for a domain/IP on Google DNS

Google DNS servers are: – primary server – secondary server

You can use these two servers to check for domains/IPs instead of using the local nameservers. To check for a domain, use:

dig <domain name> @ +short
root@web [~]# dig web.plothost.com @ +short
root@web [~]# 

To execute a reverse lookup, use:

dig -x IP @ +short
root@web [~]# dig -x @ +short
root@web [~]#

If you changed your domain nameservers or dedicated IP, it is a good idea to flush the Google DNS cache. You can do this on Flush Google DNS Cache.

Instead of in the above commands, you can also use

Google Public DNS

Leave a Reply