User Tools

Site Tools


ubuntu:networking:dns:check_dns_cache

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
ubuntu:networking:dns:check_dns_cache [2021/01/13 10:33] peterubuntu: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
 </code> </code>
Line 30: Line 34:
  
 If it's 0, you just flushed the DNS cache. 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.
 </WRAP> </WRAP>
  
ubuntu/networking/dns/check_dns_cache.1610534012.txt.gz · Last modified: 2021/01/13 10:33 by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki