dns: we do not support zone transfers

pull/3353/head
Frank Schroeder 2017-08-07 11:09:41 +02:00
parent 76b2538915
commit 60608b455d
No known key found for this signature in database
GPG Key ID: 4D65C6EAEC87DECD
1 changed files with 3 additions and 0 deletions

View File

@ -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)
} }