How to Flush Your Local DNS Resolver’s Cache

If your computer cannot reach a certain website this could be because your local DNS resolver’s cache contains an outdated record. For example, you updated your DNS records to point to easyPress but instead you are seeing your old website. This is when flushing your DNS cache will speed things up. Here’s how to do it.

On a Windows computer you can run the following command in a Command Prompt window:

ipconfig /flushdns

On a Mac one of these commands will work in a terminal window:

sudo killall -HUP mDNSResponder
sudo discoveryutil udnsflushcaches
sudo dscacheutil -flushcache
sudo lookupd -flushcache