It’s because of DNS servers that we, humans, do not have to memorize IP addresses like 220.127.116.11(Google). A DNS server translates human friendly domain names to unique IP addresses that are used to identify each device connected to the Internet. So, when you have issues with your computer not connecting to the Internet properly or if your computer is having difficulty finding websites, then you can try resetting your DNS settings to resolve the issue as the DNS cache on the local server may be corrupted.
Method 1: Straight From Run Window
1. Press WIN+R keys together to bring up the Run window. When it opens up, simply type in ipconfig /flushdns and then hit Enter key.
2. A command window will flash on the screen just for a second and the DNS resolver cache will be cleared.
Method 2: From Command Prompt
1. Bring up command prompt. You can do this using Run window or from Start menu. To open CMD from Run window, press WIN+R keys together and when the Run window opens up, just type in cmd and then press Enter key.
2. Type in ipconfig /flushdns and then press Enter key.
3. Now you will get the message that says Successfully flushed the DNS Resolver Cache. That’s it.
Method 3: From Windows PowerShell
1. Open Windows PowerShell. For that, either use Start menu search or use Run window. To open PowerShell from Run window, press WIN+R keys together. When Run window opens up, type in powershell and hit Enter key.
2. Once Windows PowerShell opens up, type in Clear-DnsClientCache and hit Enter key. Wait for 2 seconds, your DNS settings are now flushed.
When you flush your DNS, all your DNS settings will be cleared and the next time you try to access Internet, new DNS entries will be created. If the above methods do not work for you, you can try rebooting your router as routers also can have DNS cache stored in them. Rebooting the router will clear the DNS entries temporarily stored in router’s cache memory.