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
>

(646)

Written by 

I am Sakthivel Madesh, a certified Salesforce Developer & Administrator working on Salesforce Technology since 2011. I am currently working in Techforce Services as Sr. Salesforce Developer. I have worked on multiple technologies Like PHP, Java, Salesforce, I am very passionate about Salesforce and to earn 13x Salesforce Certification. I love Trailhead for learning Salesforce Skill and Become a Trailhead Ranger too. I Love to Learn & Share my Salesforce knowledge to Salesforce Learners/Beginner using My Blog and Salesforce Community.

Leave a Reply