How to Check if DNS is Working

Here's how to check DNS settings in Windows and see if your DNS is working: Open the Command Prompt. Type ipconfig /all and press Enter. Look for the DNS Servers entry to check your DNS settings and verify that they are correct .

DNS (Domain Name System) servers play a crucial role in connecting your device to the internet. It acts like a phone book for the internet, translating domain names into IP addresses, so your device can connect to websites and apps. However, sometimes DNS servers can encounter problems, leading to connectivity issues. In this post, we will guide you through the steps of checking if your DNS is working and fixing any issues.

The first method to fix DNS problems is by using Google’s public DNS server. Here are the steps to follow:

1. Open Control Panel and select “Network and Internet.”

2. Click on “Network and Sharing Center.”

3. Select your connection and click on “Properties.”

4. Click on “Internet Protocol version 4” and then select “Properties.”

5. Select “Use the following DNS server” and enter “” for preferred DNS and “” for alternate DNS.

6. Click on “Validate settings upon exit” and then click on “OK.”

7. Click on “Close” twice and then check if the problem has been fixed.

If the above method did not fix your problem, you can try the second method:

1. Open Command Prompt and run as administrator.

2. Type “ipconfig /flushDNS” and hit enter.

3. Type “ipconfig /registerDNS” and hit enter.

4. Type “ipconfig /release” and hit enter.

5. Type “ipconfig /renew” and hit enter.

6. Type “netsh winsock reset catalog” and hit enter.

7. Type “netsh int ipv4 reset reset.log” and hit enter.

8. Type “netsh int ipv6 reset reset.log” and hit enter.

9. Type “exit” and hit enter.

Once you have completed these steps, restart your computer and check if the problem has been fixed.

In conclusion, DNS problems can occur due to various reasons, but you can fix them by following the above steps. If these methods do not work, you can seek further assistance or try other methods. Let us know in the comments if these methods worked for you.


How do I check if my DNS server is working?
Run ipconfig /all at a command prompt, and verify the IP address, subnet mask, and default gateway. Check whether the DNS server is authoritative for the name that is being looked up. If so, see Checking for problems with authoritative data.
How do I know if I have DNS problems?
If DNS isn't working properly, you won't be able to use web-connected services, such as your browser or email, despite your computer or router showing a working internet connection. The webpage may timeout, give you an error message, or even bring up a specific "DNS error" message.
How do I check DNS settings?
Click on Start, select Control Panel then double click on Network Connections.Right-click on the network connection in use and select Properties.Double click on Internet Protocol (TCP/IP)Make sure “Obtain an IP address automatically” is selected.More items...
How to check DNS command line?
To see your current DNS settings, type ipconfig /displaydns and press Enter. To delete the entries, type ipconfig /flushdns and press Enter. To see your DNS settings again, type ipconfig /displaydns and press Enter. You should see blank records or you might get the message "Could not display the DNS Resolver Cache."