Resetting DNS is useful when the current resolver settings are wrong, the router has bad entries, or a device has cached outdated network configuration.
Step-by-step solutions
- Open the network adapter settings on the affected device.
- Remove manually configured DNS servers or replace them with known public DNS values.
- Set the adapter back to automatic DNS if you want to test the ISP defaults.
- Restart the connection or reboot the device.
- Flush DNS cache after the change.
Useful commands
Windows
netsh interface ip set dns name="Wi-Fi" dhcp
ipconfig /flushdns
macOS
networksetup -setdnsservers Wi-Fi empty
sudo dscacheutil -flushcache
Linux
sudo resolvectl revert eth0
sudo systemd-resolve --flush-caches
If cache corruption is the real issue, clear DNS cache is often enough. If the broader problem is still unresolved after a reset, return to how to fix DNS server problems and continue the diagnostic flow.

