Network fixes

Clear the DNS cache

When a site moved to a new server but your machine still goes to the old one.

Tested on macOS 26 Tahoe · Oct 2026
Tested on Ubuntu 24.04 · Oct 2026
Tested on Windows 11 24H2 · Oct 2026
  1. Clear the cacheNeeds sudo
    Terminal
    sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder

    Nothing is printed when it works.

  1. Clear the cacheNeeds sudo
    Terminal · Ubuntu / Debian
    sudo resolvectl flush-caches

Check it worked

  1. Check the cache is empty
    Terminal · Ubuntu / Debian
    resolvectl statistics

    The "Current Cache Size" line should be 0.

  1. Clear the cache
    PowerShell
    ipconfig /flushdns

Check it worked

  1. Check the cache is empty
    PowerShell
    ipconfig /displaydns

New to DNS? I explain it in plain English on Layman Terms.