input license here

How to flush DNS






How to flush DNS – clear DNS cache on all computers


In this tutorial you will learn how to flush DNS on different platforms. As a result, you will know how to clear the DNS cache on Windows, Mac and Linux computers.


Computers will often automatically save IP and DNS domain name information to help you access faster by using internal DNS right on the machine without having to query the international DNS server. Therefore, if the IP address of the website changes but the cached DNS of your computer has not been updated in time, you still cannot access the website. Clear DNS cache, or English as Flush DNS, will help you solve the above problem.


Instructions for Flush DNS Windows – how clear DNS cache on Windows machine


First, learn how to flush DNS on a Windows machine. Also in this section you will know how to clear DNS cache on Windows XP; Vista; 7; 8; 8.1; ten.


Step 1 — Access the Windows command prompt console


Press Windows + R to open the dialog box Run. Type the following cmd command and press the . button OK:


cmd

Open CMD on windows to flush dns


This action will open the command line interface.


Ready to flush DNS using Windows


Step 2 — Flush DNS


Use this command to clear the DNS cache on your computer:


ipconfig /flushdns

Wait for a while and you will see a confirmation that the DNS cache has been cleared (flushed).


flush dns windows successful


Instructions for Flush DNS Linux – How to clear DNS cache on Linux machine


Clearing DNS cache on Linux is also very simple. The structure may vary depending on the type of OS you are using.


Ubuntu Linux


Open Terminal and execute the following command:


sudo service network-manager restart

Flush DNS on Ubuntu Linux Using Terminal


Other Linux Distributions


If you use other linux distributions, the following command will help you:


sudo /etc/init.d/nscd restart

flush dns on linux


Flush DNS Tutorial – How to Clear DNS Cache on Mac


Learn how to flush DNS on Apple OS. The command to clear DNS cache may vary depending on the OS version.


Mac OS Sierra


To flush DNS on this version of Apple OS, go to Application Utilities Terminal and enter the following command:


sudo killall -HUP mDNSResponder

Flush DNS on Mac OS x Sierra using Terminal


Mac OS X El Capitan


If you are using this OS, the process is similar to opening Application Utilities Terminal then fill in:


sudo killall -HUP mDNSResponder

flush dns on mac os x el capiten


Mac OS X Yosemite


Clear DNS cache this OS by going to Application Utilities Terminal and enter:


sudo discoveryutil udnsflushcaches

flush dns on mac os x yosemite


Mac OS X Mavericks


To clear the outdated DNS cache, go to Application Utilities Terminal and execute:


sudo killall -HUP mDNSResponder

Flush DNS on Mac OS X Mavericks Using Terminal


Mac OS X Mountain Lion


Users of the MAC operating system to look to Application Utilities Terminal and flush DNS with the following command:


sudo killall -HUP mDNSResponder

flush dns trên mac os x mountain lion


Mac OS X Lion


Find to Application Utilities Terminal and use the following command:


sudo killall -HUP mDNSResponder

Flush DNS on Mac OS X Lion using Terminal


Mac OS X Snow Leopard


If you are using this version, go to Application Utilities Terminal and run the command:


sudo dscacheutil -flushcache

Flush DNS on Mac OS X Snow Leopard Using Terminal


Mac OS X Leopard and lower


You can clear DNS resolver cache on this OS by going to Application Utilities Terminal then type the command:


sudo lookupd -flushcache

Flush DNS on Mac OS X Leopard or lower via Terminal


Note: after clearing the DNS cache, you can restart the computer to update the new parameters. In case it still doesn't work, you can unplug the modem/router for 30 seconds and then plug it back in.


Epilogue


Congratulation! By reading through this tutorial, you already know how to flush DNS on Windows, Linux and Mac. Now you can try clearing the DNS compile cache with a quick and easy command! You will then see the computer record the latest DNS records. Be aware that browser cache can also be the cause of incorrect page rendering. Check out this tutorial to know how to clear browser cache!


Have any tips or tricks you'd like to share? Tell us by leaving a comment below.





Author






Hai G. is an expert in managing and operating website services. He has many years of experience in VPS, Hosting, technical SEO, CMS. Especially love WordPress and have been using it for over 5 years now. His hobbies are reading, blogging, traveling and mentoring young people to start a business.





Related Posts
Diệp Quân
Nguyen Manh Cuong is the author and founder of the vmwareplayerfree blog. With over 14 years of experience in Online Marketing, he now runs a number of successful websites, and occasionally shares his experience & knowledge on this blog.
SHARE

Related Posts

Subscribe to get free updates

Post a Comment

Sticky