]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
dns: Add short description for the Not Zone rcode
authorRemi Gacogne <remi.gacogne@powerdns.com>
Fri, 11 Jul 2025 08:04:20 +0000 (10:04 +0200)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Fri, 11 Jul 2025 08:04:20 +0000 (10:04 +0200)
Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
pdns/dns.cc

index 38c761cfbf05917586ca8fe3803592ef5c526c89..ed17a5f8e6ebe157905cf32bee5c5ba4f995c136 100644 (file)
@@ -58,7 +58,7 @@ const std::array<std::string, 24> RCode::rcodes_s = {
   "Bad/missing Server Cookie"
 };
 
-static const std::array<std::string, 10> rcodes_short_s =  {
+static const std::array<std::string, 11> rcodes_short_s =  {
   "noerror",
   "formerr",
   "servfail",
@@ -69,6 +69,7 @@ static const std::array<std::string, 10> rcodes_short_s =  {
   "yxrrset",
   "nxrrset",
   "notauth",
+  "notzone",
 };
 
 std::string RCode::to_s(uint8_t rcode) {