]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
- Add extended dns error code for invalid query type to definition
authorW.C.A. Wijngaards <wouter@nlnetlabs.nl>
Wed, 15 Oct 2025 09:39:58 +0000 (11:39 +0200)
committerW.C.A. Wijngaards <wouter@nlnetlabs.nl>
Wed, 15 Oct 2025 09:39:58 +0000 (11:39 +0200)
  list.

doc/Changelog
sldns/rrdef.h
sldns/wire2str.c

index 3c188e20b3ce59c4b4d6412676ad7a953858fad0..afe04877ef152aa79fb5b5d493917ad4be211505 100644 (file)
@@ -1,6 +1,8 @@
 15 October 2025: Wouter
        - Fix to drop UDP for discard-timeout, but not stream connections.
        - Fix to reply with SERVFAIL when the wait-limit is exceeded.
+       - Add extended dns error code for invalid query type to definition
+         list.
 
 10 October 2025: Wouter
        - Fix #1358 Enabling FIPS in OpenSSL causes unit test to fail.
index 5404688898801e9f8c50d0e46b2b9308adeaac42..529ef9a84fbd1ff215a6fef774477f3750020801 100644 (file)
@@ -480,7 +480,8 @@ enum sldns_enum_ede_code
        LDNS_EDE_TOO_EARLY = 26,
        LDNS_EDE_UNSUPPORTED_NSEC3_ITERATIONS = 27,
        LDNS_EDE_BADPROXYPOLICY = 28,
-       LDNS_EDE_SYNTHESIZED = 29
+       LDNS_EDE_SYNTHESIZED = 29,
+       LDNS_EDE_INVALID_QUERY_TYPE = 30
 };
 typedef enum sldns_enum_ede_code sldns_ede_code;
 
index 1bc5b9cf6e93c5f7c84689f7b419ad3b02ea5354..f4b01b0280de71cd46a7b216525969a4553f3a16 100644 (file)
@@ -233,6 +233,7 @@ static sldns_lookup_table sldns_edns_ede_codes_data[] = {
        { LDNS_EDE_UNSUPPORTED_NSEC3_ITERATIONS, "Unsupported NSEC3 Iterations Value" },
        { LDNS_EDE_BADPROXYPOLICY, "Unable to Conform to Policy" },
        { LDNS_EDE_SYNTHESIZED, "Synthesized Answer" },
+       { LDNS_EDE_INVALID_QUERY_TYPE, "Invalid Query Type" },
        { 0, NULL}
 };
 sldns_lookup_table* sldns_edns_ede_codes = sldns_edns_ede_codes_data;