There are several reasons why you may need to flush your DNS in Windows 10, the most common one being that websites aren’t resolution correctly and it should be a problem along with your DNS cache holding an incorrect address.
"Flushing" is simply the method of emptying out the cache records.
Note :- We tested the method on Windows 10 however it should work fine on devices running Windows 8.1, 8, 7, vista or XP even Windows server 2012, 2008, 2000.
One of the most reasons is that once websites update their ip addresses, there’s a delay between that and also the new ip address obtaining saved to your cache which implies there can be times once sites don’t work because your cache hasn’t yet adapted to the changes online. so if you discover a website not working, it’s a good idea to splash the cache, or rather flush the cache, however the other aquatic phrase sounds a bit better, and that I suppose you’ll agree.
Also, if you wish to cover your browsing habits online, it’s an honest plan to flush your DNS as a result of it stores the addresses to each website you visit. (That’s its entire purpose!) thus if you’ve any confidential or naughty secrets in your browsing history, read on.
ipconfig /? :- Display this help message
ipconfig /all :- Display full configuration information.
ipconfig /release :- Release the IPv4 address for the specified adapter.
ipconfig /release6 :- Release the IPv6 address for the specified adapter.
ipconfig /renew :- Renew the IPv4 address for the specified adapter.
ipconfig /renew6 :- Renew the IPv6 address for the specified adapter.
ipconfig /flushdns :- Purges the DNS Resolver cache.
ipconfig /registerdns :- Refreshes all DHCP leases and re-registers DNS names
ipconfig /displaydns :- Display the contents of the DNS Resolver Cache.
ipconfig /showclassid :- Displays all the dhcp class IDs allowed for adapter.
ipconfig /setclassid :- Modifies the dhcp class id.
ipconfig /showclassid6 :- Displays all the IPv6 DHCP class IDs allowed for adapter.
ipconfig /setclassid6 :- Modifies the IPv6 DHCP class id.
Select the "Start" button, then type "cmd".
Right-click "Command Prompt", then choose "Run as Administrator".
Type ipconfig /flushdns then press "Enter".
You should receive the following message.
Windows IP Configuration
Successfully flushed the DNS Resolver Cache.
If you wish to confirm if the DNS cache has been cleared, you can type the following command and hit Enter:
ipconfig /displaydns
This will display the DNS cache entries if any.
If, for a particular browsing session, you don’t want your PC to store the DNS info about the sites you visit, you can disable it. Press Ctrl + Shift + Escape to open the Task Manager, "More details" at the bottom left corner, then click the Services tab, right-click "Dnscache" and click "Stop."