[dnsdist] How to list all entries in cache?

Remi Gacogne remi.gacogne at powerdns.com
Mon Aug 26 07:26:24 UTC 2024


Hi

On 25/08/2024 06:31, jiangwendong via dnsdist wrote:
> How to list all entries in cache?
> I can not foud a usable command in documentation

You can use the dump() [1] method on a PacketCache object to dump a 
summary of the cache content to a file.

[1]: https://dnsdist.org/reference/config.html#PacketCache:dump

Best regards,
-- 
Remi Gacogne
PowerDNS.COM BV - https://www.powerdns.com/

-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://mailman.powerdns.com/pipermail/dnsdist/attachments/20240826/c3bd86fd/attachment.sig>


More information about the dnsdist mailing list