aboutsummaryrefslogtreecommitdiff
path: root/test/proxy_test.go
diff options
context:
space:
mode:
authorGravatar Miek Gieben <miek@miek.nl> 2016-10-08 15:22:31 +0100
committerGravatar GitHub <noreply@github.com> 2016-10-08 15:22:31 +0100
commite43384b501e211364cd167c87b4759e60add9776 (patch)
tree82811da3bd953b6b0efed7b97dca980cf085699f /test/proxy_test.go
parentb44d82839facb4911f03f6a8e6003529a01c67bf (diff)
downloadcoredns-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 'test/proxy_test.go')
-rw-r--r--test/proxy_test.go8
1 files changed, 0 insertions, 8 deletions
diff --git a/test/proxy_test.go b/test/proxy_test.go
index 15e3ccdcd..b8765ef10 100644
--- a/test/proxy_test.go
+++ b/test/proxy_test.go
@@ -12,14 +12,6 @@ import (
"github.com/miekg/dns"
)
-const exampleOrg = `; example.org test file
-example.org. IN SOA sns.dns.icann.org. noc.dns.icann.org. 2015082541 7200 3600 1209600 3600
-example.org. IN NS b.iana-servers.net.
-example.org. IN NS a.iana-servers.net.
-example.org. IN A 127.0.0.1
-example.org. IN A 127.0.0.2
-`
-
func TestLookupProxy(t *testing.T) {
name, rm, err := test.TempFile(".", exampleOrg)
if err != nil {