mirror of https://github.com/hashicorp/consul
dns: we do not support zone transfers
parent
76b2538915
commit
60608b455d
|
@ -224,6 +224,9 @@ func (d *DNSServer) handleQuery(resp dns.ResponseWriter, req *dns.Msg) {
|
||||||
m.Extra = glue
|
m.Extra = glue
|
||||||
m.SetRcode(req, dns.RcodeSuccess)
|
m.SetRcode(req, dns.RcodeSuccess)
|
||||||
|
|
||||||
|
case dns.TypeAXFR:
|
||||||
|
m.SetRcode(req, dns.RcodeNotImplemented)
|
||||||
|
|
||||||
default:
|
default:
|
||||||
d.dispatch(network, req, m)
|
d.dispatch(network, req, m)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue