From 04f04590c6fee740becff88109225c19c586e902 Mon Sep 17 00:00:00 2001 From: David Fifield Date: Sun, 13 Feb 2022 09:52:48 -0700 Subject: [PATCH] Add RFC reference for RCODE=BADVERS. --- dns/dns.go | 1 + 1 file changed, 1 insertion(+) diff --git a/dns/dns.go b/dns/dns.go index 06dee6d..d98bfe6 100644 --- a/dns/dns.go +++ b/dns/dns.go @@ -58,6 +58,7 @@ const ( RcodeFormatError = 1 // a.k.a. FORMERR RcodeNameError = 3 // a.k.a. NXDOMAIN RcodeNotImplemented = 4 // a.k.a. NOTIMPL + // https://tools.ietf.org/html/rfc6891#section-9 ExtendedRcodeBadVers = 16 // a.k.a. BADVERS )