02-04-2023, 07:51 AM
How to Flush Your Cache on Windows and Router
5/5 – (1 vote)
I work a lot with DNS settings for my websites and apps.
Today I added a few new DNS entries to set up a new server. I used DNS propagation checkers and confirmed that the DNS entries were already updated internationally. But unfortunately, I myself couldn’t access the website on my Windows machine behind my Wifi router. I could, however, access the website with my smartphone after switching off Wifi there.
This left only one conclusion: My browser, Windows OS, or router cached the stale DNS entries.
So the natural question arises:
Question: How to flush your browser cache, Windows cache, and router cache and reset the DNS entries so they’ll be loaded freshly from the name servers?
I’ll answer these three subproblems one by one in this short tutorial:
Let’s dive into each of them one by one!
![[Image: image-52-1024x565.png]](https://blog.finxter.com/wp-content/uploads/2023/02/image-52-1024x565.png)
Step 1: Reset Your Browser Cache
![[Image: image-51.png]](https://blog.finxter.com/wp-content/uploads/2023/02/image-51.png)
First, reset your browser cache because it may store some DNS entries. I’ll show you how to flush your browser cache for the three most popular browsers on Windows:
Here’s how!![[Image: 1f447.png]](https://s.w.org/images/core/emoji/14.0.0/72x72/1f447.png)
Clear Cache In Chrome
More here
Clear Cache In Microsoft Edge
Go to > > scroll down > click > Change the and check boxes next to and . Then click .
More here
Clear Cache In Firefox
Click the menu button (three horizontal bars) and select > . Scroll down to section and click . Remove check mark in front of so that only is checked. Click the button.
More here
Now your browser has no stale DNS entries — but in my case, this didn’t fix the problem. After all, your operating system may have cached it first!
Step 2: Reset Your Windows OS Cache
![[Image: image-50.png]](https://blog.finxter.com/wp-content/uploads/2023/02/image-50.png)
There’s a long and a short answer to the question on how to flush the Windows operating system cache. In my case, it worked with the shorter answer but you may want to use the long answer instead if you absolutely need to make sure your Windows DNS cache is empty.
How to Flush Your Windows Cache (Short Answer)
![[Image: image-48-1024x559.png]](https://blog.finxter.com/wp-content/uploads/2023/02/image-48-1024x559.png)
Type into the Windows search field and press . Type “” and press .
How to Flush Your Windows Cache (Long Answer)
![[Image: image-47.png]](https://blog.finxter.com/wp-content/uploads/2023/02/image-47.png)
Step 3: Reset Your Router Cache
![[Image: image-49.png]](https://blog.finxter.com/wp-content/uploads/2023/02/image-49.png)
This one is simple (although a bit time-consuming): To reset your router DNS cache for sure, unplug your router and leave it unplugged for 30 seconds or more. This will reset its DNS cache for sure. Done!
5/5 – (1 vote)
I work a lot with DNS settings for my websites and apps.
Today I added a few new DNS entries to set up a new server. I used DNS propagation checkers and confirmed that the DNS entries were already updated internationally. But unfortunately, I myself couldn’t access the website on my Windows machine behind my Wifi router. I could, however, access the website with my smartphone after switching off Wifi there.
This left only one conclusion: My browser, Windows OS, or router cached the stale DNS entries.
So the natural question arises:
Question: How to flush your browser cache, Windows cache, and router cache and reset the DNS entries so they’ll be loaded freshly from the name servers?I’ll answer these three subproblems one by one in this short tutorial:
- Step 1: Flush your browser DNS cache (Chrome, Edge, Firefox)
- Step 2: Flush your Windows DNS cache
- Step 3: Flush your router DNS cache
Let’s dive into each of them one by one!
![[Image: image-52-1024x565.png]](https://blog.finxter.com/wp-content/uploads/2023/02/image-52-1024x565.png)
Step 1: Reset Your Browser Cache
![[Image: image-51.png]](https://blog.finxter.com/wp-content/uploads/2023/02/image-51.png)
First, reset your browser cache because it may store some DNS entries. I’ll show you how to flush your browser cache for the three most popular browsers on Windows:
- Chrome
- Edge
- Firefox
Here’s how!
![[Image: 1f447.png]](https://s.w.org/images/core/emoji/14.0.0/72x72/1f447.png)
Clear Cache In Chrome
- Open Chrome
- At the top right, click with the three vertical dotsCode:
More
- Click Code:
More tools > Clear browsing data
- Choose a time range. To flush everything, select Code:
All time
- Check boxes next to andCode:
Cookies and other site dataCode:Cached images and files
- Click Code:
Clear data
More hereClear Cache In Microsoft Edge
Go to
Code:
SettingsCode:
Privacy, search, and servicesCode:
Choose what to clearCode:
Time rangeCode:
Cookies and other site dataCode:
Cached images and filesCode:
Clear now
More hereClear Cache In Firefox
Click the menu button (three horizontal bars) and select
Code:
SettingsCode:
Privacy & SecurityCode:
Cookies and Site DataCode:
Clear Data...Code:
Cookies and Site DataCode:
Cached Web ContentCode:
Clear
More hereNow your browser has no stale DNS entries — but in my case, this didn’t fix the problem. After all, your operating system may have cached it first!
Step 2: Reset Your Windows OS Cache
![[Image: image-50.png]](https://blog.finxter.com/wp-content/uploads/2023/02/image-50.png)
There’s a long and a short answer to the question on how to flush the Windows operating system cache. In my case, it worked with the shorter answer but you may want to use the long answer instead if you absolutely need to make sure your Windows DNS cache is empty.
How to Flush Your Windows Cache (Short Answer)
![[Image: image-48-1024x559.png]](https://blog.finxter.com/wp-content/uploads/2023/02/image-48-1024x559.png)
Type
Code:
cmdCode:
EnterCode:
ipconfig /flushdnsCode:
EnterHow to Flush Your Windows Cache (Long Answer)
![[Image: image-47.png]](https://blog.finxter.com/wp-content/uploads/2023/02/image-47.png)
- Type into the Windows search field and pressCode:
cmd.Code:Enter
- Type “” and pressCode:
ipconfig /flushdns.Code:Enter
- Type “” and pressCode:
ipconfig /registerdns.Code:Enter
- Type “” and pressCode:
ipconfig /release.Code:Enter
- Type “” and pressCode:
ipconfig /renew.Code:Enter
- Type “” and pressCode:
netsh winsock reset.Code:Enter
- Restart the computer.
Step 3: Reset Your Router Cache
![[Image: image-49.png]](https://blog.finxter.com/wp-content/uploads/2023/02/image-49.png)
This one is simple (although a bit time-consuming): To reset your router DNS cache for sure, unplug your router and leave it unplugged for 30 seconds or more. This will reset its DNS cache for sure. Done!

