Syntax is:
1 | nslookup ip_of_host_to_lookup ip_of_dns_server |
Example of successful lookup returning server name to IP mapping
1 2 3 4 5 6 | 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
1 2 3 4 5 6 | 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