Set Authoritative Answer - DNSKEY (fix #210) (#212)

* Authoritative Answer - DNSKEY

* Improve Style
This commit is contained in:
elcore
2016-08-14 20:19:36 +02:00
committed by Miek Gieben
parent cdb7cb68ed
commit 6d3f9d2193
2 changed files with 5 additions and 0 deletions

View File

@@ -129,6 +129,10 @@ func TestLookupDNSKEY(t *testing.T) {
}
resp := rec.Msg()
if !resp.Authoritative {
t.Errorf("Authoritative Answer should be true, got false")
}
sort.Sort(test.RRSet(resp.Answer))
sort.Sort(test.RRSet(resp.Ns))
sort.Sort(test.RRSet(resp.Extra))