≡ 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

Non-authoritative answer:
Name:    www.windows-commandline.com
Addresses: 2400:cb00:2048:1::6819:550c


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

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

1 comment… add one
  • Charles Vasquez

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

    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)

Leave a Comment