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.

Default Server:

> set querytype=soa

Non-authoritative answer:
primary name server =
responsible mail addr =
serial  = 2012102500
refresh = 28800 (8 hours)
retry   = 7200 (2 hours)
expire  = 604800 (7 days)
default TTL = 3600 (1 hour)      nameserver =      nameserver =  internet address =  AAAA IPv6 address = 2607:f208:206::16  internet address =  AAAA IPv6 address = 2607:f208:302::16

Written by 

I am Sakthivel Madesh, a certified Salesforce Advanced 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 15x Salesforce Certification. I love Trailhead for learning Salesforce Skill and Become a Trailhead 5x Ranger too. I Love to Learn & Share my Salesforce knowledge to Salesforce Learners/Beginner using My Blog and Salesforce Community.

Leave a Reply

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