How do I clear my computers stored DNS cache?

Category: Troubleshooting

If you have recently moved to us from another web host, migrated between servers or you’ve changed a DNS entry, you may need to clear your DNS cache to remove a stale DNS record. Whilst clearing your DNS cache will more often than not correct a DNS related issue, if your ISP (internet service provider) still has a DNS cache of their own you will have to wait for that to flush as well which is beyond your control.

To clear your computer’s DNS cache, follow the instructions below:

Windows

1. Start > Run
2. Type in “cmd”, then click run
3. Type in the command window “ipconfig /flushdns” and press enter
4. Your computer’s DNS cache should now be cleared

Mac OSX

1. Navigate to terminal
2. Type in “dscacheutil -flushcache” and press enter

Linux

1. Navigate to terminal
2. Type in “/etc/init.d/nscd restart” and press enter

If completing the above steps does not have any effect you may need to wait for your ISP’s own DNS cache to clear. This will generally occur within 24-48 hours.