From 009c72175f875da98f1a5223771a65433e17433e Mon Sep 17 00:00:00 2001 From: Catalin Patulea Date: Fri, 5 Sep 2014 23:56:41 -0400 Subject: [PATCH] Update documentation references for EDNS0 and EDNS0_SUBNET. Only EDNS0 is defined in RFC 6891 and EDNS0_SUBNET is actually just a draft. --- edns.go | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/edns.go b/edns.go index f075719b..9d752fa8 100644 --- a/edns.go +++ b/edns.go @@ -13,9 +13,10 @@ // o.Hdr.Name = "." // MUST be the root zone, per definition. // o.Hdr.Rrtype = dns.TypeOPT // -// The rdata of an OPT RR consists out of a slice of EDNS0 interfaces. Currently -// only a few have been standardized: EDNS0_NSID (RFC 5001) and EDNS0_SUBNET (RFC 6891). Note that -// these options may be combined in an OPT RR. +// The rdata of an OPT RR consists out of a slice of EDNS0 (RFC 6891) +// interfaces. Currently only a few have been standardized: EDNS0_NSID +// (RFC 5001) and EDNS0_SUBNET (draft-vandergaast-edns-client-subnet-02). Note +// that these options may be combined in an OPT RR. // Basic use pattern for a server to check if (and which) options are set: // // // o is a dns.OPT