update the documentation

This commit is contained in:
Miek Gieben 2013-05-08 10:09:49 +02:00
parent 0c698b9463
commit eaee06b87e
1 changed files with 4 additions and 3 deletions

View File

@ -1,7 +1,8 @@
// EDNS0 // EDNS0
// //
// EDNS0 is an extension mechanism for the DNS defined in RFC 2671. It defines a // EDNS0 is an extension mechanism for the DNS defined in RFC 2671 and updated
// standard RR type, the OPT RR, which is then completely abused. // by RFC 6891. It defines a
// standard RR type, the OPT RR, which is then completely abused.
// Basic use pattern for creating an (empty) OPT RR: // Basic use pattern for creating an (empty) OPT RR:
// //
// o := new(dns.OPT) // o := new(dns.OPT)
@ -305,7 +306,7 @@ func (e *EDNS0_SUBNET) String() (s string) {
// The UPDATE_LEASE EDNS0 (draft RFC) option is used to tell the server to set // The UPDATE_LEASE EDNS0 (draft RFC) option is used to tell the server to set
// an expiration on an update RR. This is helpful for clients that cannot clean // an expiration on an update RR. This is helpful for clients that cannot clean
// up after themselves. This is a draft RFC and more information can be found at // up after themselves. This is a draft RFC and more information can be found at
// http://files.dns-sd.org/draft-sekar-dns-ul.txt // http://files.dns-sd.org/draft-sekar-dns-ul.txt
// //
// o := new(dns.OPT) // o := new(dns.OPT)
// o.Hdr.Name = "." // o.Hdr.Name = "."