mirror of
https://github.com/miekg/dns.git
synced 2026-05-05 14:46:11 +02:00
Add the rcode DSO-TYPE Not Implemented / RFC8490 (#1648)
Signed-off-by: Rob Gill <rrobgill@protonmail.com>
This commit is contained in:
parent
8ec9f67469
commit
64211b39d1
1
msg.go
1
msg.go
@ -147,6 +147,7 @@ var RcodeToString = map[int]string{
|
||||
RcodeNXRrset: "NXRRSET",
|
||||
RcodeNotAuth: "NOTAUTH",
|
||||
RcodeNotZone: "NOTZONE",
|
||||
RcodeDSOTypeNI: "DSOTYPENI",
|
||||
RcodeBadSig: "BADSIG", // Also known as RcodeBadVers, see RFC 6891
|
||||
// RcodeBadVers: "BADVERS",
|
||||
RcodeBadKey: "BADKEY",
|
||||
|
||||
1
types.go
1
types.go
@ -137,6 +137,7 @@ const (
|
||||
RcodeNXRrset = 8 // NXRRSet - RR Set that should exist does not [DNS Update]
|
||||
RcodeNotAuth = 9 // NotAuth - Server Not Authoritative for zone [DNS Update]
|
||||
RcodeNotZone = 10 // NotZone - Name not contained in zone [DNS Update/TSIG]
|
||||
RcodeDSOTypeNI = 11 // DSOTypeNI - DSO-TYPE not implemented [DNS Stateful Operations] https://www.rfc-editor.org/rfc/rfc8490.html#section-10.2
|
||||
RcodeBadSig = 16 // BADSIG - TSIG Signature Failure [TSIG] https://www.rfc-editor.org/rfc/rfc6895.html#section-2.3
|
||||
RcodeBadVers = 16 // BADVERS - Bad OPT Version [EDNS0] https://www.rfc-editor.org/rfc/rfc6895.html#section-2.3
|
||||
RcodeBadKey = 17 // BADKEY - Key not recognized [TSIG]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user