I have been tasked to find the FQDN (Fully Qualified Domain Name) associated with a given IP address.
For example, if a machine has two NICs with the following IP addresses:
- 1.1.1.1
- 1.1.1.2
Then the FQDN may be registered as:
- external.acme.com (for 1.1.1.1)
- internal.acme.com (for 1.1.1.2)
Is there a way to determine the FQDN associated with an IP address across a range of platforms (wg. Windows, Solaris, Linux, HP-UX, etc)? I would imagine that 'nslookup' would be a useful command for this?