mirror of
https://github.com/coredns/coredns.git
synced 2025-10-28 08:44:17 -04:00
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:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user