KB: How to convert a fully qualified domain name to an IP address?

To convert a fully qualified domain name (FQDN) to an IP address:

  1. Select “Windows Desktop > Start”.
  2. In the “Start” menu, type “cmd.exe” or “Command Prompt”, and select the “Command Prompt” entry.
  3. In the “Command Prompt” window, enter: nslookup {hostname} (e.g., nslookup DESKTOP-ME7S7JT).
  4. For a specified host name, this command looks up the IP address via a server, and displays the fully qualified domain name and IP address of the server and host. Refer also to Microsoft TechNet documentation Nslookup.
  • You can use Nslookup command-line utility to quickly convert a fully qualified domain name to an IP address. You can tack on a host name to the end of the command line to identify a single address. For example, type nslookup ftp.microsoft.com to look up the IP address of the Microsoft File Transfer Protocol (FTP) server.

    Source:

    Thanks,

    SpringPeople