Small extension of documentation
This commit is contained in:
parent
dd90d7942b
commit
b0342e8757
1
edns.go
1
edns.go
|
@ -174,6 +174,7 @@ type EDNS0 interface {
|
||||||
// o.Hdr.Rrtype = dns.TypeOPT
|
// o.Hdr.Rrtype = dns.TypeOPT
|
||||||
// e := new(dns.EDNS0_NSID)
|
// e := new(dns.EDNS0_NSID)
|
||||||
// e.Code = dns.EDNS0NSID
|
// e.Code = dns.EDNS0NSID
|
||||||
|
// e.Nsid = "AA"
|
||||||
// o.Option = append(o.Option, e)
|
// o.Option = append(o.Option, e)
|
||||||
type EDNS0_NSID struct {
|
type EDNS0_NSID struct {
|
||||||
Code uint16 // Always EDNS0NSID
|
Code uint16 // Always EDNS0NSID
|
||||||
|
|
Loading…
Reference in New Issue