December 23, 2024
nslookup through Windows command prompt

Here is a quick way to find out the primary DNS server IP address in use by Windows  :

1. Open Windows command prompt and simply type “nslookup”. Type “quit” to exit back to the command prompt.

nslookup through Windows command prompt

2. This will display the primary/preferred DNS server being used by Windows.

This can be useful for troubleshooting connectivity issues as well as for reference.

To get the details of both primary and secondary DNS server IPs , go to Control Panel > Network and Internet >Network Connections and right click on the network adapter, select “Properties”, then TCP/IPv4 properties :

Network adapter properties in Windows

IP address details tab through network adapter properties in Windows

[To find out DNS server information in Linux Mint/Ubuntu, refer to this earlier post.]

Cheers.

By admin

Related Post