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.
An example command below that finds DNS address for this website.
C:\>nslookup www.windows-commandline.com Server: UnKnown Address: 192.168.0.1 Non-authoritative answer: Name: www.windows-commandline.com Addresses: 2400:cb00:2048:1::6819:550c 2400:cb00:2048:1::6819:540c 22.214.171.124 126.96.36.199 C:\>
As you can see the command displays both IPv4 and IPv6 DNS addresses.