diff options
author | 2016-10-19 17:46:03 +0100 | |
---|---|---|
committer | 2016-10-19 17:46:03 +0100 | |
commit | 4f36e63a0578679daa44ace280afab66b44eef5a (patch) | |
tree | f6ffd99e1fe76abb6f4b4572efa2dc13b1ed2203 /test/miek_test.go | |
parent | ad7e78ec3126bd02d6cfc7f64c32dfced7c84836 (diff) | |
download | coredns-4f36e63a0578679daa44ace280afab66b44eef5a.tar.gz coredns-4f36e63a0578679daa44ace280afab66b44eef5a.tar.zst coredns-4f36e63a0578679daa44ace280afab66b44eef5a.zip |
middleware/file: fix DS handling (#344)
The DS record is handled specially in the server ServeDNS mux, but there
was no code that actually called the correct middleware handler chain
when encountering a DS.
This PR fixes that behavoir, additonal bugs has been files to look into
how we are handling delegation (secure and non-secure ones).
Diffstat (limited to 'test/miek_test.go')
-rw-r--r-- | test/miek_test.go | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/test/miek_test.go b/test/miek_test.go new file mode 100644 index 000000000..2778817a3 --- /dev/null +++ b/test/miek_test.go @@ -0,0 +1,31 @@ +package test + +const miekNL = `; miek.nl test zone +$TTL 30M +$ORIGIN miek.nl. +@ IN SOA linode.atoom.net. miek.miek.nl. ( + 1282630059 ; Serial + 4H ; Refresh + 1H ; Retry + 7D ; Expire + 4H ) ; Negative Cache TTL + IN NS linode.atoom.net. + IN NS ns-ext.nlnetlabs.nl. + IN NS omval.tednet.nl. + IN NS ext.ns.whyscream.net. + + IN MX 1 aspmx.l.google.com. + IN MX 5 alt1.aspmx.l.google.com. + IN MX 5 alt2.aspmx.l.google.com. + IN MX 10 aspmx2.googlemail.com. + IN MX 10 aspmx3.googlemail.com. + + IN A 176.58.119.54 + IN AAAA 2a01:7e00::f03c:91ff:fe79:234c + IN HINFO "Please stop asking for ANY" "See draft-ietf-dnsop-refuse-any" + +a IN A 176.58.119.54 + IN AAAA 2a01:7e00::f03c:91ff:fe79:234c +www IN CNAME a +archive IN CNAME a +` |