diff options
Diffstat (limited to 'test/file_upstream_test.go')
-rw-r--r-- | test/file_upstream_test.go | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/test/file_upstream_test.go b/test/file_upstream_test.go index 9232b44a1..4d13a2ca0 100644 --- a/test/file_upstream_test.go +++ b/test/file_upstream_test.go @@ -29,9 +29,7 @@ www 3600 IN CNAME www.example.net. defer rm() corefile := `.:0 { - file ` + name + ` example.org { - upstream - } + file ` + name + ` example.org hosts { 10.0.0.1 www.example.net. fallthrough @@ -88,12 +86,8 @@ www 3600 IN A 127.0.0.53 defer rm2() corefile := `.:0 { - file ` + name + ` example.org { - upstream - } - file ` + name2 + ` foo.example.org { - upstream - } + file ` + name + ` example.org + file ` + name2 + ` foo.example.org }` i, udp, _, err := CoreDNSServerAndPorts(corefile) |