diff options
Diffstat (limited to 'plugin/dnssec')
-rw-r--r-- | plugin/dnssec/handler.go | 1 | ||||
-rw-r--r-- | plugin/dnssec/handler_test.go | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/plugin/dnssec/handler.go b/plugin/dnssec/handler.go index c8bddc01c..6153bf331 100644 --- a/plugin/dnssec/handler.go +++ b/plugin/dnssec/handler.go @@ -33,7 +33,6 @@ func (d Dnssec) ServeDNS(ctx context.Context, w dns.ResponseWriter, r *dns.Msg) if qname == z { resp := d.getDNSKEY(state, z, do, server) resp.Authoritative = true - state.SizeAndDo(resp) w.WriteMsg(resp) return dns.RcodeSuccess, nil } diff --git a/plugin/dnssec/handler_test.go b/plugin/dnssec/handler_test.go index 35444eecb..8e997bca8 100644 --- a/plugin/dnssec/handler_test.go +++ b/plugin/dnssec/handler_test.go @@ -26,7 +26,7 @@ var dnssecTestCases = []test.Case{ test.DNSKEY("miek.nl. 3600 IN DNSKEY 257 3 13 0J8u0XJ9GNGFEBXuAmLu04taHG4"), test.RRSIG("miek.nl. 3600 IN RRSIG DNSKEY 13 2 3600 20160503150844 20160425120844 18512 miek.nl. Iw/kNOyM"), }, - Extra: []dns.RR{test.OPT(4096, true)}, + /* Extra: []dns.RR{test.OPT(4096, true)}, this has moved to the server and can't be test here */ }, } |