Update documentation references for EDNS0 and EDNS0_SUBNET.

Only EDNS0 is defined in RFC 6891 and EDNS0_SUBNET is actually just a draft.
This commit is contained in:
Catalin Patulea 2014-09-05 23:56:41 -04:00
parent 818abf8202
commit 009c72175f
1 changed files with 4 additions and 3 deletions

View File

@ -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