From 60608b455d9296b12478e78765461b30aadb12b2 Mon Sep 17 00:00:00 2001 From: Frank Schroeder Date: Mon, 7 Aug 2017 11:09:41 +0200 Subject: [PATCH] dns: we do not support zone transfers --- agent/dns.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/agent/dns.go b/agent/dns.go index 279e1144a9..fb2d2cacbd 100644 --- a/agent/dns.go +++ b/agent/dns.go @@ -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) }