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:
parent
818abf8202
commit
009c72175f
7
edns.go
7
edns.go
|
@ -13,9 +13,10 @@
|
||||||
// o.Hdr.Name = "." // MUST be the root zone, per definition.
|
// o.Hdr.Name = "." // MUST be the root zone, per definition.
|
||||||
// o.Hdr.Rrtype = dns.TypeOPT
|
// o.Hdr.Rrtype = dns.TypeOPT
|
||||||
//
|
//
|
||||||
// The rdata of an OPT RR consists out of a slice of EDNS0 interfaces. Currently
|
// The rdata of an OPT RR consists out of a slice of EDNS0 (RFC 6891)
|
||||||
// only a few have been standardized: EDNS0_NSID (RFC 5001) and EDNS0_SUBNET (RFC 6891). Note that
|
// interfaces. Currently only a few have been standardized: EDNS0_NSID
|
||||||
// these options may be combined in an OPT RR.
|
// (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:
|
// Basic use pattern for a server to check if (and which) options are set:
|
||||||
//
|
//
|
||||||
// // o is a dns.OPT
|
// // o is a dns.OPT
|
||||||
|
|
Loading…
Reference in New Issue