There are two main ways to find your DNS server address, depending on your operating system:
Windows:
- Command Prompt:
- Unlock the Command Prompt by looking for “cmd” in the Start menu.
- Type ipconfig /all and press Enter.
- Look for the line labeled “DNS Servers” under the network adapter you’re using (e.g., Ethernet adapter Ethernet). You will see the IP addresses of your DNS servers.
- If your connection is connected to the internet via WiFi then you have to check for the ‘Wireless LAN adapter Ethernet section, and along with the IP addresses next to the DNS server.
- The 1st IP address will be the primary DNS server. If there is a second address, it will be called a secondary DNS server.
- Using nslookup:
- Unlocked the Command Prompt as mentioned above.
- Type nslookup google.com and press Enter. (You can replace “ancblograndom.com” with any other website)
- Check for the line that starts with “Server Address.” Then, you will see the IP address of your DNS server.
Mac:
- Terminal:
- Open the Terminal application (you can find it in Applications > Utilities).
- Type nslookup google.com and press Enter. (You can replace “google.com” with any other website)
- Look for the line that starts with “Server Address.” This will show the IP address of your DNS server.
It is necessary to understand that in multiple home networking configurations, you will see the IP address starting 195.175.X.X or 10.X.X.X. This can be the router IP address on your local network.
Further, your router’s IP address may vary from the tool’s DNS test results, which show the public IP address of the DNS servers that contacted the test platform.
If this is the case, it indicates that the DNS server on your router has contacted one or more upstream the DNS server(s), forwarding the request. The tool will show the information of this upstream server.
Read: How to Create Private Nameservers in Google?
Conclusion
In the bottom line, finding your DNS server address is essential for troubleshooting network connectivity issues and ensuring smooth internet access. By following the steps outlined in the text, users can easily locate this information on their devices.