Reset your network settings
Copy-paste commands to flush DNS and renew your IP on Windows, macOS and Linux, with every line explained.
These commands clear stale state after router changes, ISP outages or VPN problems. None of them delete your files or saved Wi-Fi passwords. Run only the lines you need.
Windows
Start → type cmd → right-click Command Prompt → Run as administrator.
ipconfig /flushdnsEmpties the DNS cache so stale or poisoned lookups are fetched again.
ipconfig /releaseGives your current IP address back to the router. You'll briefly go offline.
ipconfig /renewAsks the router for a fresh IP address and settings.
netsh winsock resetResets the Windows network socket catalog, which broken VPN or antivirus software can corrupt. Needs a restart.
netsh int ip resetResets TCP/IP settings to defaults. Use only if the above didn't help. Needs a restart.
macOS
Applications → Utilities → Terminal. You'll be asked for your password.
sudo dscacheutil -flushcacheClears the directory service cache, including DNS entries.
sudo killall -HUP mDNSResponderRestarts the macOS DNS service so it forgets cached lookups.
sudo ipconfig set en0 DHCPRenews the IP address on en0 (usually Wi-Fi on laptops). Check the interface name with `networksetup -listallhardwareports`.
Linux (systemd)
Open a terminal.
resolvectl flush-cachesClears systemd-resolved's DNS cache.
nmcli networking off && nmcli networking onRestarts all NetworkManager connections, which renews DHCP leases.
Made a change? Measure again to see the difference.
Run the Health Check