Check website Domain Name Server (DNS) using CMD prompt

DNS record TXT CMD prompt
Check your domain IP address and Name Server records DNS like CNAME, MX, A, TXT, and other records using command prompt CMD in windows OS.

An Article to check Domain Name Server (DNS) records of any website or blog without login into host account. Most of online website which help you to trace-out DNS record actually use this look-up string.

Here is the table to check out your full DNS records use can use in command prompt. To open command prompt in Windows OS, press Windows + R and type cmd.

Read: Checking IP address of any website.

DNS Record

Full Name of record

NS Lookup in CMD


Canonical Name

nslookup –type=cname X



Nslookup –type=txt X



Nslookup –type=a X


Service Locator

Nslookup –type=srv X


Sender Policy Framework

Nslookup –type=spf X


Mail Exchange

Nslookup –type=mx X

Related:  How to choose a good domain name for blog or website ?

Where X represents naked domain(without www) name of website.

Check DNS look-up CNAME record using command prompt CMD:

DNS record CNAME CMD prompt

DNS record CNAME CMD prompt

Note: for CNAME record you have to type full domain name like,,, for other records you can use naked domain name, 

Check TXT record look-up:

DNS record TXT CMD prompt

DNS record TXT CMD prompt

Note and Conclusion:

Use naked domain name in case of all other records accept CNAME.

Info: Images are imported from our old website (Technology Tutorial)

You may also like...

Leave a Reply

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