This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
internet:dns:flush_dns_cache [2012/08/09 14:15] gcooper created |
internet:dns:flush_dns_cache [2021/01/17 16:32] (current) gcooper |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== How to Flush DNS Cache ====== | ====== How to Flush DNS Cache ====== | ||
+ | |||
+ | <note warning> | ||
===== Windows ===== | ===== Windows ===== | ||
Line 15: | Line 17: | ||
===== Linux ===== | ===== Linux ===== | ||
- | Linux doesn' | + | Depending on your system, one of these might work: |
+ | |||
+ | < | ||
+ | sudo systemctl restart nscd | ||
+ | </ | ||
+ | |||
+ | < | ||
+ | sudo systemctl restart dnsmasq | ||
+ | </ | ||
< | < | ||
rndc flush | rndc flush | ||
+ | </ | ||
+ | |||
+ | ===== Ubuntu ===== | ||
+ | |||
+ | < | ||
+ | sudo systemd-resolve --statistics | ||
+ | sudo systemd-resolve --flush-caches | ||
</ | </ |