How to clear the local DNS cache in Mac OS?
To flush or remove your local DNS cache in Mac OS use your Terminal:
- Go to Applications > Utilities > Terminal or just press F4 then type Terminal then press enter
- Type the following command and press Enter:
sudo dscacheutil -flushcache
- After that type the command below and press Enter:
sudo killall -HUP mDNSResponder