- unbound-control cache_lookup <domains> prints the cached rrsets

and messages for those.
Changelog and information.
This commit is contained in:
W.C.A. Wijngaards 2025-08-13 11:36:47 +02:00
parent fad747308f
commit 2f7890eb6e
3 changed files with 11 additions and 0 deletions

View file

@ -1,3 +1,7 @@
13 August 2025: Wouter
- unbound-control cache_lookup <domains> prints the cached rrsets
and messages for those.
12 August 2025: Wouter
- Fix that unbound-control dump_cache releases the cache locks
every so often, so that the server stays responsive.

View file

@ -386,6 +386,12 @@ There are several commands that the server understands.
Not supported in remote Unbounds in multi-process operation.
@@UAHL@unbound-control.commands@cache_lookup@@ *names*
Print to stdout the RRsets and messages that are in the cache.
For every name listed the content at or under the name is printed.
Several names separated by spaces can be given, each is printed.
@@UAHL@unbound-control.commands@lookup@@ *name*
Print to stdout the name servers that would be used to look up the name
specified.

View file

@ -143,6 +143,7 @@ usage(void)
printf(" load_cache load cache from stdin\n");
printf(" (not supported in remote unbounds in\n");
printf(" multi-process operation)\n");
printf(" cache_lookup <names> print rrsets and msgs at or under the names\n");
printf(" lookup <name> print nameservers for name\n");
printf(" flush [+c] <name> flushes common types for name from cache\n");
printf(" types: A, AAAA, MX, PTR, NS,\n");