Search code examples
dnsroutesbindpointersreverse-lookup

Where do reverse lookups get the value of the nameserver which holds the PTR records


When I do a reverse lookup on my IP, it correctly finds one of our BIND nameservers and does a reverse lookup. How does it find our nameserver, where are the nameserver details stored? With RIPE/ARIN or on our Router (we have a class B block that points at our router) or with our WAN backbone provider?

I understand the whole process of forward lookup starting with root hints (. > .COM. > example.COM. > www.example.com.) and how the nameserver is found but am not sure of the process for IPs.

Thanks


Solution

  • It's exactly the same process for reverse lookups. The only thing that is somewhat special about reverse lookups is that the name being looked up is derived from an IP address.