aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Miek Gieben <miek@miek.nl> 2018-03-26 21:23:33 +0100
committerGravatar GitHub <noreply@github.com> 2018-03-26 21:23:33 +0100
commit6d272e3174afc05b4621c9770db0ceb8da385e46 (patch)
treebb60c79ccbca5cc5e1440e598ebe97431932a370
parent231c2c0ef3fb921f5cae31ff4a2f7c6653da01ad (diff)
downloadcoredns-6d272e3174afc05b4621c9770db0ceb8da385e46.tar.gz
coredns-6d272e3174afc05b4621c9770db0ceb8da385e46.tar.zst
coredns-6d272e3174afc05b4621c9770db0ceb8da385e46.zip
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
-rw-r--r--plugin/forward/health.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/plugin/forward/health.go b/plugin/forward/health.go
index cd4b96e27..03322e92e 100644
--- a/plugin/forward/health.go
+++ b/plugin/forward/health.go
@@ -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