From: George Thessalonikefs Date: Wed, 30 Nov 2022 13:33:16 +0000 (+0100) Subject: - Add SVCB and HTTPS to the types removed by 'unbound-control flush'. X-Git-Tag: release-1.17.1rc1~14 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=90f6cb11580076dea693be1df1312235b41a71a8;p=thirdparty%2Funbound.git - Add SVCB and HTTPS to the types removed by 'unbound-control flush'. --- diff --git a/daemon/remote.c b/daemon/remote.c index 7d4a41400..532e77db7 100644 --- a/daemon/remote.c +++ b/daemon/remote.c @@ -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); diff --git a/doc/Changelog b/doc/Changelog index 17b25f1f8..a6ea73a66 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -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. diff --git a/doc/unbound-control.8.in b/doc/unbound-control.8.in index d3147be6f..39adb7643 100644 --- a/doc/unbound-control.8.in +++ b/doc/unbound-control.8.in @@ -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 diff --git a/sldns/rrdef.h b/sldns/rrdef.h index 999c22307..98fb257dc 100644 --- a/sldns/rrdef.h +++ b/sldns/rrdef.h @@ -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 */