≡ Menu

How to find DNS address of website

Do you need to find DNS address of a website from command prompt? Learn how to use Windows command nslookup to find DNS addresses.

Run below command to find DNS address.

nslookup  DomainName

An example command below that finds DNS address for this website.

C:\>nslookup www.windows-commandline.com
Server:  UnKnown
Address:  192.168.0.1

Non-authoritative answer:
Name:    www.windows-commandline.com
Addresses: 2400:cb00:2048:1::6819:550c
          2400:cb00:2048:1::6819:540c
          104.25.84.12
          104.25.85.12
C:\>

As you can see the command displays both IPv4 and IPv6 DNS addresses.

Also Read: How to flush DNS cache from Windows command prompt.

2 comments… add one
  • Charles Vasquez

    You can find the email server in a similar way:
    nslookup
    > set q=mx
    > DomainName
    Server: one.one.one.one
    Address: 1.1.1.1

    windows-commandline.com
    primary name server = olga.ns.cloudflare.com
    responsible mail addr = dns.cloudflare.com
    serial = 2029260140
    refresh = 10000 (2 hours 46 mins 40 secs)
    retry = 2400 (40 mins)
    expire = 604800 (7 days)
    default TTL = 3600 (1 hour)
    >

  • Norasykin

    set q=mx
    > DomainName
    Server: one.one.one.one
    Address: 1.1.1.1

    windows-commandline.com
    primary name server = olga.ns.cloudflare.com
    responsible mail addr = dns.cloudflare.com
    serial = 2029260140
    refresh = 10000 (2 hours 46 mins 40 secs)
    retry = 2400 (40 mins)
    expire = 604800 (7 days)
    default TTL = 3600 (1 hour)

Cancel reply

Leave a Comment