]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
- Add SVCB and HTTPS to the types removed by 'unbound-control flush'.
authorGeorge Thessalonikefs <george@nlnetlabs.nl>
Wed, 30 Nov 2022 13:33:16 +0000 (14:33 +0100)
committerGeorge Thessalonikefs <george@nlnetlabs.nl>
Wed, 30 Nov 2022 13:33:16 +0000 (14:33 +0100)
daemon/remote.c
doc/Changelog
doc/unbound-control.8.in
sldns/rrdef.h

index 7d4a414002aca7dda2b019ff8db16d2a5c3ffcc1..532e77db70e908446333c5eea76af903596dc2e0 100644 (file)
@@ -1963,6 +1963,8 @@ do_flush_name(RES* ssl, struct worker* w, char* arg)
        do_cache_remove(w, nm, nmlen, LDNS_RR_TYPE_PTR, LDNS_RR_CLASS_IN);
        do_cache_remove(w, nm, nmlen, LDNS_RR_TYPE_SRV, LDNS_RR_CLASS_IN);
        do_cache_remove(w, nm, nmlen, LDNS_RR_TYPE_NAPTR, LDNS_RR_CLASS_IN);
+       do_cache_remove(w, nm, nmlen, LDNS_RR_TYPE_SVCB, LDNS_RR_CLASS_IN);
+       do_cache_remove(w, nm, nmlen, LDNS_RR_TYPE_HTTPS, LDNS_RR_CLASS_IN);
        
        free(nm);
        send_ok(ssl);
index 17b25f1f8d2d8a5f0547d8f774f536f70fa4282b..a6ea73a66a2dfac72a2f7b51ee639398b18f4672 100644 (file)
@@ -1,3 +1,6 @@
+30 November 2022: George
+       - Add SVCB and HTTPS to the types removed by 'unbound-control flush'.
+
 28 November 2022: Wouter
        - Fix for the ignore of tcp events for closed comm points, preserve
          the use after free protection features.
index d3147be6f57e60309e9ac354768aa7fb14dedc89..39adb764351872b0924adb94f92c73075dad9eca 100644 (file)
@@ -130,7 +130,7 @@ name specified.
 .TP
 .B flush \fIname
 Remove the name from the cache. Removes the types
-A, AAAA, NS, SOA, CNAME, DNAME, MX, PTR, SRV and NAPTR.
+A, AAAA, NS, SOA, CNAME, DNAME, MX, PTR, SRV, NAPTR, SVCB and HTTPS.
 Because that is fast to do. Other record types can be removed using
 .B flush_type
 or
index 999c223074e1ec19bd4725a12e049e1ed1a6fb32..98fb257dc8cd7986dde9c5b571a37a285e83a32d 100644 (file)
@@ -196,8 +196,8 @@ enum sldns_enum_rr_type
        LDNS_RR_TYPE_OPENPGPKEY = 61, /* RFC 7929 */
        LDNS_RR_TYPE_CSYNC = 62, /* RFC 7477 */
        LDNS_RR_TYPE_ZONEMD = 63, /* draft-ietf-dnsop-dns-zone-digest-12 */
-    LDNS_RR_TYPE_SVCB = 64, /* draft-ietf-dnsop-svcb-https-04 */
-    LDNS_RR_TYPE_HTTPS = 65, /* draft-ietf-dnsop-svcb-https-04 */
+       LDNS_RR_TYPE_SVCB = 64, /* draft-ietf-dnsop-svcb-https-04 */
+       LDNS_RR_TYPE_HTTPS = 65, /* draft-ietf-dnsop-svcb-https-04 */
 
        LDNS_RR_TYPE_SPF = 99, /* RFC 4408 */