This problem arises due to many reasons but you have to test all the cases.
1. Specifying a Public DNS is a good solution but it does not solve the issue with the internal DNS server.
Why do we need to add a DNS to preferred DNS?
This is the firs DNS server that the connection uses. You can add the other DNS server to alternate DNS servers.
By adding alternate DNS server does the second DNS server also work with the connection?
NO. The second one works if and only if the first (Preferred) DNS server is not functioning. So you have to add both and either one will work.
Type: nslookup to a command prompt (cmd) to find the DNS server you are using.
To verify that it is a DNS issue Ping a public IP Address. Type: Ping 209.85.175.106 and hit enter. This is a Google server IP address. If you receive a reply, you are experiencing a DNS issue. You have to test few websites using more than 1 browser (sometimes
browsers also experience issues. Clear the temp files, cookies and cache to fix the issue).
2. In a command prompt:
Type: ipconfig /flushdns and hit enter. Then type ipconfig /registerdns and hit enter. This will re-initiate the DNS connection.
3. To resolve any problems with ip addresses (DHCP), type ipconfig /release and hit enter. Then type ipconfig /renew and hit enter.
Important! Type services.msc in the search area (start menu) and hit enter. Verify that the DNS CLIENT service is running.
NSLOOKUP (Advanced):
http://support.microsoft.com/kb/2005254. Your firewall/internet security suite may be blocking DNS port 53. Try disabling the firewall or configure a port rule (port 53). The configuration varies and depend on your firewall type. This also applies to routers. If you are using a modem connected
to the router, you have to configure ports for the client in some cases. Turn off MAC Filtering as well (or configure and allow the client PC).
5. In Device Manager, Click View > Show Hidden Devices > Network Adapters > Disable Virtual WiFi Miniport Adapters if enabled (Virtual).
6. If there are any other Virtual Adapters (VmWare etc if you are using), disable them. This will be further explained below.
7. Reset the Firewall to default settings.
8. Disable all network adapters and then re enable. Disable IPv6 settings.
9. If nothing works, open the Event Viewer (search) and then go to Windows Logs > System. Check for DNS errors.
If you have changed the hosts file, you have to check whether there are specific settings in the hosts file.
C:\Windows\System32\drivers\etc\hosts.
10. If you are using a VPN (connected) your internet connection is set to use VPN. Your company may block internet access to VPN most probably.
Steps:
Bring up the properties for the VPN Connection.
Click on Internet Protocol Version 4 (TCP/IPv4) and then select Properties.
Click on the Advanced button, then un-tick Use default gateway on remote network > Click OK.
VMWare:
If you have installed VMWare products, it will configure 2 VMWare Virtual Adapters. Never configure NAT with the same LAN IP. If you do, there will be many issues. If you have configured, change it with VMWare Virtual Network Editor.
Edit > Virtual Network Editor.
Or disable WMWare Virtual Adapter 8.
11. Reset the Adapter.
Resetting: Launch cmd.exe as Administrator
Firewall: netsh advfirewall reset
Branch cache: netsh branchcache reset
Winsock Reset: netsh winsock reset
Note: All Winsock Layered Service Providers which were previously installed must be reinstalled. This command does not affect Winsock Name Space Provider entries.
11. Uninstall and Re install Network Adapter (LAN) drivers.
12. Change router port or router/switch.
13. Change DNS server (Internal).
14. Try a system restore.
15. Reset router and test.
16. Troubleshoot hardware issues.
Hope this helps.
This post is targets all the users who experience DNS issues.
There is an amazing pack of free network admin tools.
click here to download it