plugin/forward: set the RD bit in the hc (#1639)

My routers acts funny when it sees it non RD query; make this HC as
boring as possible
This commit is contained in:
Miek Gieben
2018-03-26 21:23:33 +01:00
committed by GitHub
parent 231c2c0ef3
commit 6d272e3174

View File

@@ -25,7 +25,6 @@ func (p *Proxy) Check() error {
func (p *Proxy) send() error {
hcping := new(dns.Msg)
hcping.SetQuestion(".", dns.TypeNS)
hcping.RecursionDesired = false
m, _, err := p.client.Exchange(hcping, p.addr)
// If we got a header, we're alright, basically only care about I/O errors 'n stuff