Home How To How to Flush the DNS Cache in Ubuntu & Why You Should

How to Flush the DNS Cache in Ubuntu & Why You Should

by Unallocated Author

Domain Name Servers(DNS) are one of the backbones of the internet. Without them, the entire system of domain names wouldn’t work and we’d have to navigate the web using straight IP addresses — not my idea of fun, if you ask me.

Whenever you access a domain name, your system keeps a record of which IP address that domain points to (this is called a cache). This makes your next access to that domain much faster because you don’t have to look it up, which could take seconds.

But sometimes your local domain name cache falls out of sync with the actual mapping of a domain name to IP address. That’s why sometimes you can’t access a website even though the website isn’t down — especially if that website has moved servers recently.

When that happens, you need to flush your DNS-cache. Fortunately, this can be done with a simple terminal command on Ubuntu and other Debian systems:

$ sudo /etc/init.d/dns-clean

There are other DNS-related tricks that might prove useful to you, such as optimizing DNS for faster internet speeds and changing your DNSfor improved online security, so look into that when you can.

Flush DNS Cache in Windows 10

To Flush DNS Cache in Windows 10, hold Windows Key and press “R” to launch “Windows Run” dialog box. Now type “ipconfig /flushdns” and press “Enter” or Click “OK” to execute the command. Congratulations! You have successfully Flushed DNS Cache in Windows 10.

flush-dns-cache-windows10

Microsoft Windows 10 is more powerful with tons of new features added in Networking and other system core functioning methods. It is an excellent mashup of Windows 7 and Windows 8, that is friendly and more stable than ever before. Most of the Windows Run commands are same as its earlier versions with added parameters that brings new features to play.

If you have used Windows XP, Windows 7, 8 and other versions of Windows, you should know what i am talking about.

You may also like