Skip to main content David Edelstein's Blog

Reverse DNS Lookup

Published: 2015-08-04
David Edelstein

I’m not attached to my client site’s DNS which means I have to use IP addresses to attach to databases or get on local websites.  This is fine, but sometimes its useful to get the correct server name to send to support.  DIG is a very useful tool in general, but it is specifically usable in this case.  Knowing the internal DNS server onsite, I can ask it what server is associated with the IP I already know.

dig - do a reverse lookup

In my case, I do:

dig @{dns server ip} -x {ip to find}