From 751ccfffd88f16107886ab01a17c407f3f916be0 Mon Sep 17 00:00:00 2001 From: Ruben d'Arco Date: Mon, 3 Dec 2012 04:51:25 +0100 Subject: [PATCH] Add RCodes for RFC2136 This adds the needed RCodes to support RFC2136 (YXDomain, NotZone and others) --- pdns/dns.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pdns/dns.hh b/pdns/dns.hh index 170f3980e9..37932465ec 100644 --- a/pdns/dns.hh +++ b/pdns/dns.hh @@ -57,7 +57,7 @@ struct SOAData class RCode { public: - enum rcodes_ { NoError=0, FormErr=1, ServFail=2, NXDomain=3, NotImp=4, Refused=5, NotAuth=9 }; + enum rcodes_ { NoError=0, FormErr=1, ServFail=2, NXDomain=3, NotImp=4, Refused=5, YXDomain=6, YXRRSet=7, NXRRSet=8, NotAuth=9, NotZone=10}; }; class Opcode -- 2.47.3