bugfix for nsd

This commit is contained in:
Miek Gieben 2012-06-01 08:39:24 +02:00
parent 77709d301c
commit aae0f8b7a1
1 changed files with 3 additions and 0 deletions

View File

@ -177,6 +177,9 @@ Flags:
e := new(dns.EDNS0_NSID)
e.Code = dns.EDNS0NSID
o.Option = append(o.Option, e)
// NSD will not return nsid when the udp message size
// is zero
o.SetUDPSize(dns.DefaultMsgSize)
}
if *client != "" {
e := new(dns.EDNS0_SUBNET)