How to clear your DNS cache

How to clear your DNS cache
Written by Admin

DNS server is the translation of any domain's IP. When your PC is connected to internet, it stores all IPs you are visiting to its cache, to avoid searching for them again in the future.

However, sometimes it is needed to clear this cache, when for example you have problem with a site that it is moved and its IP has changed, but you PC has the old IP stored.

Open a new command line window (by pressing Win+X and then choose Command Prompt to run as Admin) and give this command:

ipconfig /flushdns

and press Enter.

However, sometimes this can't help, so you have to give some more commands:
ipconfig /registerdns and press Enter.
ipconfig /release and press Enter.
ipconfig /renew and press Enter.
netsh winsock reset and press Enter.

Then, restart your PC and your router.

About the author



Welcome to my blog. My name is Akis Mparekas. I am a freelance web developer from Greece and I have been involved in SEO, Website Migration (transferring content from a site, eg blogger to WordPress), website optimization, and web scraping (extracting content from one or more sites) for years.

At the same time I am taking my first steps in game development (unity) and animation (blender). I also create cool stuff, either for work or for fun. When I have time, I write tutorials and I blog.

Leave a Comment