MS-DOS Commands :: nslookup
Lookup the IP address of the specified fully qualified domain name, or perform a reverse lookup to get the domain name of the specified IP address.
Lookup the IP address of the specified fully qualified domain name domain.
Perform a reverse lookup to get the domain name of the specified IP address ipaddress.
Access the interactive interface of the nslookup command to perform complex queries. Type help or ? for help. Type exit to exit.
Performs a forward lookup and displays the IP address of the domain www.c3scripts.com. Currently, the IP address of this domain is [22.214.171.124].
Performs a reverse lookup of the IP address [126.96.36.199] and displays its domain name. Currently, a reverse lookup of this IP returns server.c3server.com.
Since multiple domains can be assigned to the same IP address (such as in the case where a web server hosts multiple websites), performing a foward lookup (domain to IP) and then doing a reverse lookup (IP to domain) will not necessarily display the original domain.