Use the nslookup tool to find domain name information. With the IP address handy, open the Command Prompt and enter nslookup IP address. The output will list the domain name in the Name line.