- Samsung Care+ includes free same-day screen repairs for Galaxy devices now
- The Supreme Court backs TikTok's ban. What comes next?
- Growing Enterprise Data is Creating Big Cybersecurity Risk
- This Asus monitor delivers 5K resolution rivaling Apple's Studio Display (and it's cheaper)
- I spent hours testing ChatGPT Tasks - and its refusal to follow directions was mildly terrifying
How to flush the DNS cache in Linux
systemctl is-active systemd-resolved
sudo systemd-resolve --flush-caches
$ systemd-resolve --statistics
systemctl restart systemd-resolved.service
How to flush the DNS cache when using BIND
sudo rndc dumpdb -cache
sudo rndc flush
sudo cat /var/named/data/cache_dump.db
How to flush the DNS cache when using Dnsmasq
systemctl is-active dnsmasq
service dnsmasq status
sudo systemctl restart dnsmasq
sudo service dnsmasq restart
How to flush the DNS cache when using nscd
systemctl is-active nscd
service nscd status
sudo nscd --invalidate=hosts
sudo nscd -g
$ sudo nscd -g