Lookup IP Address

Name:

Lookup IP Address

Category:

Name Resolution

Description: 

Uses NSLOOKUP to perform a “Reverse lookup” to resolve the hostname from the supplied IP Address. Your environment must utilize PTR records in order to perform reverse lookups.
Required Software:

n/a

Command:

@Echo off
Echo Lookup the PTR record for $(Computer:TARGET)'s IP address, $(Computer:TARGETIPADDRESS)

nslookup -q=PTR $(Computer:TARGETIPADDRESS)

 

Was this article helpful?
Still have a question or want to share what you have learned? Visit our Community Discord to get help and collaborate with others.