How to find the domain name server (DNS) using command prompt (CMD)

its possible with the help of command prompt option to get the dns (domain name server) and IP Address details and see the below example and screenshot for your reference

Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation.  All rights reserved.

C:\Users\TRB>nslookup
Default Server:  rcomwlnsmum.rilinfo.net
Address:  220.226.100.40

> set querytype=soa
> theblogreaders.com
Server:  rcomwlnsmum.rilinfo.net
Address:  220.226.100.40

Non-authoritative answer:
theblogreaders.com
primary name server = ns43.domaincontrol.com
responsible mail addr = dns.jomax.net
serial  = 2012102500
refresh = 28800 (8 hours)
retry   = 7200 (2 hours)
expire  = 604800 (7 days)
default TTL = 3600 (1 hour)

theblogreaders.com      nameserver = ns44.domaincontrol.com
theblogreaders.com      nameserver = ns43.domaincontrol.com
ns43.domaincontrol.com  internet address = 216.69.185.22
ns43.domaincontrol.com  AAAA IPv6 address = 2607:f208:206::16
ns44.domaincontrol.com  internet address = 208.109.255.22
ns44.domaincontrol.com  AAAA IPv6 address = 2607:f208:302::16
>

Written by 

Salesforce MVP | Lightning Champion | 17x Salesforce Certified | Application Architect | 7x Trailhead Ranger | Techforce Services | Australia

Leave a Reply

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

*