ubuntu:networking:dns:check_dns_cache
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
ubuntu:networking:dns:check_dns_cache [2021/01/13 10:20] – created peter | ubuntu:networking:dns:check_dns_cache [2021/01/13 11:38] (current) – peter | ||
---|---|---|---|
Line 2: | Line 2: | ||
<code bash> | <code bash> | ||
+ | resolvectl statistics | ||
+ | |||
+ | or | ||
+ | |||
systemd-resolve --statistics | systemd-resolve --statistics | ||
</ | </ | ||
Line 25: | Line 29: | ||
| | ||
</ | </ | ||
+ | |||
+ | <WRAP info> | ||
+ | **NOTE: | ||
+ | |||
+ | If it's 0, you just flushed the DNS cache. | ||
+ | |||
+ | The cache can store up to 4096 DNS responses for up to 2 hours, so don’t expect to see a massive number listed as the current cache size. | ||
+ | |||
+ | The DNS cache can’t grow to more than 420 kB when used to its fullest; so no concern about memory usage. | ||
+ | </ | ||
+ |
ubuntu/networking/dns/check_dns_cache.1610533230.txt.gz · Last modified: 2021/01/13 10:20 by peter