]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
- unbound-control cache_lookup <domains> prints the cached rrsets
authorW.C.A. Wijngaards <wouter@nlnetlabs.nl>
Wed, 13 Aug 2025 09:36:47 +0000 (11:36 +0200)
committerW.C.A. Wijngaards <wouter@nlnetlabs.nl>
Wed, 13 Aug 2025 09:36:47 +0000 (11:36 +0200)
  and messages for those.
Changelog and information.

doc/Changelog
doc/unbound-control.rst
smallapp/unbound-control.c

index b0b6cc97804c213d35562d325d61502481e223df..8d0e4cb2dca2c835ae7d4aadec852680a9a57a86 100644 (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.
index 1f3cc4a8e61c6f484ff27c3a669d8c797ab1ea44..a42809e66b047a5765aaa3a9e38d8b002de4d710 100644 (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.
index 994a4287097607a13147ebf378d5f7d22f418218..c58704c82300da4aaf89240b3d52e991f0169c0f 100644 (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");