diff options
author | 2016-10-08 15:22:31 +0100 | |
---|---|---|
committer | 2016-10-08 15:22:31 +0100 | |
commit | e43384b501e211364cd167c87b4759e60add9776 (patch) | |
tree | 82811da3bd953b6b0efed7b97dca980cf085699f /middleware/dnssec/dnssec_test.go | |
parent | b44d82839facb4911f03f6a8e6003529a01c67bf (diff) | |
download | coredns-e43384b501e211364cd167c87b4759e60add9776.tar.gz coredns-e43384b501e211364cd167c87b4759e60add9776.tar.zst coredns-e43384b501e211364cd167c87b4759e60add9776.zip |
middleware/file: proper support for wildcard (#323)
Add support for wildcard records, while taking care of wildcard-cnames
and DNSSEC. Add enough tests to check all the corner cases.
Diffstat (limited to 'middleware/dnssec/dnssec_test.go')
-rw-r--r-- | middleware/dnssec/dnssec_test.go | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/middleware/dnssec/dnssec_test.go b/middleware/dnssec/dnssec_test.go index 1b3894204..a3eeec6af 100644 --- a/middleware/dnssec/dnssec_test.go +++ b/middleware/dnssec/dnssec_test.go @@ -52,7 +52,6 @@ func TestZoneSigningDouble(t *testing.T) { if !section(m.Ns, 2) { t.Errorf("authority section should have 1 sig") } - t.Logf("%+v\n", m) } // TestSigningDifferentZone tests if a key for miek.nl and be used for example.org. @@ -73,11 +72,12 @@ func TestSigningDifferentZone(t *testing.T) { m = d.Sign(state, "example.org.", time.Now().UTC()) if !section(m.Answer, 1) { t.Errorf("answer section should have 1 sig") + t.Logf("%+v\n", m) } if !section(m.Ns, 1) { t.Errorf("authority section should have 1 sig") + t.Logf("%+v\n", m) } - t.Logf("%+v\n", m) } func TestSigningCname(t *testing.T) { @@ -91,7 +91,6 @@ func TestSigningCname(t *testing.T) { if !section(m.Answer, 1) { t.Errorf("answer section should have 1 sig") } - t.Logf("%+v\n", m) } func TestZoneSigningDelegation(t *testing.T) { |