diff options
author | Bob Halley <halley@dnspython.org> | 2020-07-07 16:27:57 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-07 16:27:57 -0700 |
commit | 74db93e2993e05de58b3d1211605bd9d3df5deb6 (patch) | |
tree | e2fb5d4dfb032e4df775c268b058ca6f20584d26 | |
parent | 172c357dc70420a2ce2fbe88a18ee439b945c3be (diff) | |
parent | 1ae3b0f33060ed69ad2ade9228aa032630e1362f (diff) | |
download | dnspython-74db93e2993e05de58b3d1211605bd9d3df5deb6.tar.gz |
Merge pull request #532 from HsiehYuho/extrcode
Support more DNS rcode
-rw-r--r-- | dns/rcode.py | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/dns/rcode.py b/dns/rcode.py index efefe73..d3cfdba 100644 --- a/dns/rcode.py +++ b/dns/rcode.py @@ -45,6 +45,22 @@ class Rcode(dns.enum.IntEnum): NOTZONE = 10 #: Bad EDNS version. BADVERS = 16 + #: TSIG Signature Failure + # BADSIG = 16 + #: Key not recognized. + BADKEY = 17 + #: Signature out of time window. + BADTIME = 18 + #: Bad TKEY Mode. + BADMODE = 19 + #: Duplicate key name. + BADNAME = 20 + #: Algorithm not supported. + BADALG = 21 + #: Bad Truncation + BADTRUNC = 22 + #: Bad/missing Server Cookie + BADCOOKIE = 23 @classmethod def _maximum(cls): |