Commit 6d272e31 authored by Miek Gieben's avatar Miek Gieben Committed by GitHub

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
parent 231c2c0e
...@@ -25,7 +25,6 @@ func (p *Proxy) Check() error { ...@@ -25,7 +25,6 @@ func (p *Proxy) Check() error {
func (p *Proxy) send() error { func (p *Proxy) send() error {
hcping := new(dns.Msg) hcping := new(dns.Msg)
hcping.SetQuestion(".", dns.TypeNS) hcping.SetQuestion(".", dns.TypeNS)
hcping.RecursionDesired = false
m, _, err := p.client.Exchange(hcping, p.addr) 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 // If we got a header, we're alright, basically only care about I/O errors 'n stuff
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment