From 8916a8a219563bbeaa069544572175c0f290bcba Mon Sep 17 00:00:00 2001 From: Max Worsley Date: Mon, 16 Sep 2024 11:32:31 +0100 Subject: [PATCH] Add NXNAME RR type and invalid query type EDE --- src/base/iana/exterr.rs | 3 +++ src/base/iana/rtype.rs | 5 +++++ 2 files changed, 8 insertions(+) diff --git a/src/base/iana/exterr.rs b/src/base/iana/exterr.rs index 4e302e8bd..4e0d8588a 100644 --- a/src/base/iana/exterr.rs +++ b/src/base/iana/exterr.rs @@ -149,6 +149,9 @@ int_enum! { /// is otherwise configured to support. Examples of this include /// its most recent zone being too old or having expired. (INVALID_DATA => 24, b"Invalid Data") + + /// The requested resource record type should not appear in a query. + (INVALID_QUERY_TYPE => 30, b"Invalid Query Type") } /// Start of the private range for EDE codes. diff --git a/src/base/iana/rtype.rs b/src/base/iana/rtype.rs index ab031066b..c38c204b7 100644 --- a/src/base/iana/rtype.rs +++ b/src/base/iana/rtype.rs @@ -364,6 +364,11 @@ int_enum! { /// See RFC 7043. (EUI64 => 109, b"EUI64") + /// NXNAME. + /// + /// IANA-Reserved. + (NXNAME => 128, b"NXNAME") + /// Transaction key. /// /// See RFC 2930.