How To Find the IP Address Of a Domain Using NSLookup Command In Windows

Quick Tips
  • You may never know the actual IP, as most websites mask or hide IPs through services such as Cloudflare.
  • The syntax for the nslookup command is nslookup [-option] [name | -] [server].
  • You can also find website addresses based on IP.

Method 1: Quick Report

Step 1: Open the Run prompt (Win + R), type wt, and press Enter to open Windows Terminal.

Step 2: Type nslookup google.com and press Enter.

nslookup Find IP

Step 3: It will show you Google.com’s IP address. However, this is one of the server’s IP addresses where google.com is hosted.  Similarly, you can find host machines for any other website.

Method 2: Interactive Mode

You can also get the same result using the interactive mode, in which nslookup waits for another argument until you type exit. So, this is the way to go if you want to execute multiple arguments.

Step 1: On the terminal, type nslookup and press the Enter key.

Step 2: Since we did not finish the command like we did in the above steps, it waits for the arguments. Type google.com, press Enter, and it will give you the same results.

nslookup interactive mode

FAQs

What Is Non-authoritative Answer Given by nslookup?

The answers from nslookup come from querying your local ISP DNS or the DNS you may have set up. However, your DNS is the only one that figures out the IP, and nslookup is only querying up. So, in its way, nslookup isn’t giving an official answer, but it’s still correct.

What More Can You Find About a Website Using nslookup Command?

nslookup, simply put, is Name Server lookup. So, whatever is available in the DNS records that the website reveals can be figured out. That includes records such as A, MX, and so on.

Was this helpful?

Yes
No
Thanks for your feedback!

Last updated on 12 April, 2024

Leave a Reply

Your email address will not be published. Required fields are marked *

The article above may contain affiliate links which help support Guiding Tech. The content remains unbiased and authentic and will never affect our editorial integrity.