Your computer remembers where websites live for a while. After a DNS change, clearing that memory lets you see the new settings sooner.
Windows
- Right-click Start and choose Terminal (or Command Prompt).
- Type
ipconfig /flushdnsand press Enter.
Mac
- Open Terminal from Applications → Utilities.
- Type
sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder, press Enter and type your Mac password.
Phones and browsers
Turn your phone's flight mode on and off. In Chrome or Edge, also restart the browser.
Your internet provider has its own cache too, which you cannot clear. See how long DNS changes take.