How to check PTR (pointer) records with nslookup
Use nslookup to check the PTR (pointer) records of a domain.
A PTR record provides the domain name associated with an IP address. A PTR record is the reversed A record (A record provides the IP associated with a domain name).
View the PTR records of a domain using nslookup and
$ nslookup -debug IP_ADDRESS
The PTR records are displayed under the "ANSWERS" and "Non-authoritative answer" sections:
Server: 192.168.0.1 Address: 192.168.0.1#53 ------------ QUESTIONS: 22.214.171.124.in-addr.arpa, type = PTR, class = IN ANSWERS: -> 126.96.36.199.in-addr.arpa name = bud02s38-in-f14.1e100.net. ttl = 28040 AUTHORITY RECORDS: ADDITIONAL RECORDS: ------------ Non-authoritative answer: 188.8.131.52.in-addr.arpa name = bud02s38-in-f14.1e100.net. Authoritative answers can be found from: