Performing a reverse (PTR) Lookup with NSLOOKUP

Syntax is: Example of successful…

Login

Blog History

Syntax is:

nslookup ip_of_host_to_lookup ip_of_dns_server

Example of successful lookup returning server name to IP mapping


PS C:\Users\ja> nslookup 10.73.2.21 10.73.2.9
Server:  TGN-DC03.TOGGEN.LOCAL
Address:  10.73.2.9

Name:    srv01.toggen.local
Address:  10.73.2.21

Example of failing lookup where the IP doesn't have a PTR record


PS C:\Users\ja> nslookup 10.73.2.20 10.73.2.9
 nslookup 10.73.2.20 10.73.2.9
Server:  TGN-DC03.TOGGEN.LOCAL
Address:  10.73.2.9

*** TGN-DC03.TOGGEN.LOCAL can't find 10.73.2.20: Non-existent domain

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

The reCAPTCHA verification period has expired. Please reload the page.