Signed-off-by: Miek Gieben <miek@miek.nl>
This commit is contained in:
Miek Gieben
2020-01-16 11:24:01 +01:00
parent 8582830b17
commit 09f4e8aee4
2 changed files with 26 additions and 24 deletions

View File

@@ -51,6 +51,7 @@ func (t *Traffic) ServeDNS(ctx context.Context, w dns.ResponseWriter, r *dns.Msg
m := new(dns.Msg)
m.SetReply(r)
m.Authoritative = true
if addr == nil {
m.Ns = soa(state.Zone)