How To: Flush Your Local DNS Cache
If your computer has trouble reaching a certain web site or server this may be due to a corrupt or outdated local DNS cache. Here is how to correct it:
Windows Vista/Windows 7/8/10:
- Click on Start, followed by All Programs, and then Accessories.
- Right-click on Command Prompt and choose Run as Administrator.
- In the Command Prompt window type in the following command and press Enter:
ipconfig /flushdns
- If all goes well, which it should, you will see the following confirmation message:
Successfully flushed the DNS Resolver Cache.
Windows XP
- Click on Start, followed by All Programs, and then Accessories.
- Click on Command Prompt.
- In the Command Prompt window type in the following command:
ipconfig /flushdns
- and press Enter. You should see the following confirmation message:
Successfully flushed the DNS Resolver Cache.
Mac OS X Mountain Lion or Lion
killall -HUP mDNSResponder
Mac OS X 10.10 Yosemite
- Type the following command in the Terminal window and press Enter:
sudo discoveryutil udnsflushcaches
- Do not be alarmed if you do not receive any kind of response from the Terminal window after running the command. This is normal.
Mac OS X 10.5.2 to Mac OS X v10.6
- Click on the Finder icon in your dock. Open your Applications folder.
- Inside the Applications folder, click on Utilities and then Terminal.
- Type the following command in the Terminal window and press Enter:
dscacheutil -flushcache
- Do not be alarmed if you do not receive any kind of response from the Terminal window after running the command. This is normal.
Mac OS X 10.5.1 and below
- Click on the Finder icon in your dock. Open your Applications folder.
- Inside the Applications folder, click on Utilities and then Terminal.
- Type the following command in the Terminal window and press Enter:
lookupd -flushcache
Linux
- Many current Linux distributions do not utilize a local DNS resolver cache like Windows and Mac OS X. If you do not know if your Linux installation is utilizing local DNS caching please see the website for your Linux distribution and look for information regarding default included software.
- One of the most commonly used DNS caching Linux applications is NSCD (Name Service Cachine Daemon).
- If you have NSCD installed you can clear the local DNS cache by running one of the following commands in your favorite terminal/shell application:
nscd -i hosts
– Clear local DNS cache for current user.nscd -I hosts
– Clear local DNS cache for all users.
Related Articles
Deleting Cache from Edge Browser
In order to delete all the Cached data from your MS Edge Browser do the following: Open Edge Browser Click on the 3 dots that appear on the top right corner and pick Settings from the menu that appears: Type "cache" on the left hand search field and ...
Transferring your Domain OUT of GoDaddy
These are instructions on how to get the EPP code in order to transfer a domain OUT of GoDaddy. Go to: godaddy.com [ Link opens in new tab ] Login to your account and on the top right hand side click on Your Username > My Products Scroll Down to the ...
Editing (DNS) Servers in GoDaddy
If you have a hosting account with us and need to change your Domain Servers at GoDaddy, in order to point your website to our servers please do the following: To Set Nameservers for a Domain Name Registered with GoDaddy.com: Log in to your Account ...
Editing (DNS) Servers in Wild West Domains
To change your Domain Name Servers (DNS) at Wild West Domains, do the following: Log in to your Wild West Account Manager. In the "My Products" section, select Domain Manager. Use the checkbox(es) to select the domain name(s) you want to ...
Editing (DNS) Servers in Network Solutions
If you have ordered hosting from us and would like to leave your domain registration at Network Solutions, all you need to do then is change the domain name servers (DNS) for that domain to our name servers. Login to your Account Manager by clicking ...