Testsuite: keep noqualify testcase from using external DNS
authorJeremy Harris <jgh146exb@wizmail.org>
Sun, 1 Sep 2019 22:45:43 +0000 (23:45 +0100)
committerJeremy Harris <jgh146exb@wizmail.org>
Sun, 1 Sep 2019 22:45:43 +0000 (23:45 +0100)
test/dnszones-src/db.dontqualify [new file with mode: 0644]
test/stderr/0469

diff --git a/test/dnszones-src/db.dontqualify b/test/dnszones-src/db.dontqualify
new file mode 100644 (file)
index 0000000..f51ad36
--- /dev/null
@@ -0,0 +1,5 @@
+; This is a testing zone file for use when testing DNS handling in Exim. This
+; is a fake zone of no real use. The zone name is dontqualify.
+
+NXDOMAIN dontqualify.     A 127.0.0.1
+; End
index 915bd5ab297c55ae228d0a26d9a7f48f9443d426..bf37946ac8d42aad55de8c43436f20b752ada7f7 100644 (file)
@@ -21,11 +21,10 @@ r1 router called for x@mxt1c.test.ex
 DNS lookup of mxt1c.test.ex (MX) using fakens
 DNS lookup of mxt1c.test.ex (MX) succeeded
 DNS lookup of dontqualify (A) using fakens
-fakens returned PASS_ON
-passing dontqualify on to res_search()
-DNS lookup of dontqualify (A) gave HOST_NOT_FOUND
-returning DNS_NOMATCH
- writing neg-cache entry for dontqualify-A-xxxx, ttl 86400
+DNS lookup of dontqualify (A) gave NO_DATA
+returning DNS_NODATA
+DNS: no SOA record found for neg-TTL
+ writing neg-cache entry for dontqualify-A-xxxx, ttl -1
 fully qualified name = mxt1c.test.ex
 host_find_bydns yield = HOST_FIND_FAILED (0); returned hosts:
   dontqualify <null> MX=1 *