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