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