From 9e18d4bc79a3a15e722aa023049061049f156852 Mon Sep 17 00:00:00 2001 From: Hugo Landau Date: Mon, 20 Oct 2014 23:29:23 +0100 Subject: [PATCH] Delegation replies should not be authoritative --- ncdns.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ncdns.go b/ncdns.go index 7071bf7..bb3f8f2 100644 --- a/ncdns.go +++ b/ncdns.go @@ -481,6 +481,8 @@ func (tx *Tx) addAnswersDelegation(nss []dns.RR) error { tx.consolationSOA = true } } else { + tx.res.Authoritative = false + // Note that this is not authoritative data and thus does not get signed. for _, ns := range nss { t := ns.Header().Rrtype