diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/file_upstream_test.go | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/file_upstream_test.go b/test/file_upstream_test.go index 6b796f90d..77ffa1d6e 100644 --- a/test/file_upstream_test.go +++ b/test/file_upstream_test.go @@ -77,10 +77,17 @@ func TestFileUpstreamError(t *testing.T) { }, "srvfail": { Qname: "srvfail.example.org.", Qtype: dns.TypeA, + Answer: []dns.RR{ + test.CNAME("srvfail.example.org. 3600 IN CNAME srvfail.example.net."), + }, Rcode: dns.RcodeServerFailure, }, "srvfail-chain": { Qname: "chain2.example.org.", Qtype: dns.TypeA, + Answer: []dns.RR{ + test.CNAME("chain2.example.org. 3600 IN CNAME srvfail.example.org."), + test.CNAME("srvfail.example.org. 3600 IN CNAME srvfail.example.net."), + }, Rcode: dns.RcodeServerFailure, }, "nodata": { |