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
-debug
option:
$ 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:
46.39.251.142.in-addr.arpa, type = PTR, class = IN
ANSWERS:
-> 46.39.251.142.in-addr.arpa
name = bud02s38-in-f14.1e100.net.
ttl = 28040
AUTHORITY RECORDS:
ADDITIONAL RECORDS:
------------
Non-authoritative answer:
46.39.251.142.in-addr.arpa name = bud02s38-in-f14.1e100.net.
Authoritative answers can be found from: