If you are having any sort of Internet connection issues, flushing your DNS will give your computer a clean starting point to work from and usually fixes most Internet connectivity issues. On odd occasions bad DNS information can be cached, resulting in errors and loss of connection. So if you happen to be suffering any sort of IP or DNS errors, this article will show you how to flush your DNS and reset your connection.
Flushing your DNS isn’t something you need to do on a regular basis as it's generally quite a problem free component of most operating systems. However, if you are having Internet connection issues, flushing your DNS is a must. You can compare it to flushing the toilet after you’ve enjoyed a few moments of relaxation. Although the process may sound like a complicated task, it's super simple, so let’s get started.
How Do You Flush and Reset Your DNS on Windows 10?
To begin you will need to open the Command Prompt tool as Admin. To do this press the Windows Key + X, then select Command Prompt (Admin). Once you have Command open, type or copy and paste the following commands into the Command window, pressing Enter after each.
Once all of the commands finish, Restart your computer and check to see if your Internet connection has been restored.
Note: It’s very important to make sure you are opening Command Prompt as Admin otherwise none of the above steps will work.
How Do You Flush and Reset DNS on macOS?
If you are a macOS user, you can also flush your DNS which does the same thing as it does on Windows 10. To flush and reset your DNS completely on Mac, follow the steps below.
- First, close all programs and browsers you have open on your computer.
- Next, go to Applications > Utilities > Terminal
- From the terminal window type: sudo discoveryutil mdnsflushcache (OS X 10.10 (Yosemite)
Note: What you will type into the terminal window will depend on the version of Mac OS you are using, below are the codes you use,
OS X 10.10 (Yosemite) sudo discoveryutil mdnsflushcache
OS X 10.7 – 10.9 (Mavericks, Mountain Lion, and Lion) sudo killall -HUP mDNSResponder
OS X 10.6 and older: sudo dscacheutil -flushcache
The above text will flush and reset the DNS settings on your computer.
Hopefully using the above steps you have reset your DNS cache and your Internet connection is now working like normal.