Hacker symbol

September 8, 2019 ~ 1 min read

Flush dns


Sometimes, some pesky website just won't update. Well here are some commands:

# Systemd
sudo systemd-resolve --flush
sudo systemd-resolve --statistics
sudo systemd-resolve --flush-caches

# nscd
sudo systemctl restart nscd

# dnsmasq
sudo systemctl restart dnsmasq

# named
sudo systemctl restart named

Sebastian BolaƱos

Hi, I'm Sebastian. I'm a software developer from Costa Rica. You can follow me on Twitter. I enjoy working on trustless systems.