Set RecursionDesired header to fix SERVFAIL (#1)
This commit is contained in:
parent
1c0a911641
commit
5bcf12a070
@ -110,6 +110,7 @@ func main() {
|
||||
msg := &dns.Msg{
|
||||
MsgHdr: dns.MsgHdr{
|
||||
Id: dns.Id(),
|
||||
RecursionDesired: true,
|
||||
},
|
||||
Question: []dns.Question{
|
||||
dns.Question{"cachesize.bind.", dns.TypeTXT, dns.ClassCHAOS},
|
||||
|
Loading…
x
Reference in New Issue
Block a user