Refactor the res_search() fail hack
[users/jgh/exim.git] / test / stderr / 0044
index 0a2b983b44c991d93f0035f8ce64444391ab6124..1dcde9f8e3935fcf97fe89b8de91e282d2b1e3b6 100644 (file)
@@ -79,7 +79,7 @@ dnslists check: rbl.test.ex
 new DNS lookup for 13.12.11.V4NET.rbl.test.ex
 DNS lookup of 13.12.11.V4NET.rbl.test.ex (A) using fakens
 DNS lookup of 13.12.11.V4NET.rbl.test.ex (A) succeeded
-dnslists: wrote cache entry, ttl=1
+dnslists: wrote cache entry, ttl=3
 DNS lookup for 13.12.11.V4NET.rbl.test.ex succeeded (yielding 127.0.0.2)
 DNS lookup of 13.12.11.V4NET.rbl.test.ex (TXT) using fakens
 DNS lookup of 13.12.11.V4NET.rbl.test.ex (TXT) succeeded
@@ -240,8 +240,10 @@ new DNS lookup for 99.99.99.V4NET.rbl.test.ex
 DNS lookup of 99.99.99.V4NET.rbl.test.ex (A) using fakens
 DNS lookup of 99.99.99.V4NET.rbl.test.ex (A) gave HOST_NOT_FOUND
 returning DNS_NOMATCH
- writing neg-cache entry for 99.99.99.V4NET.rbl.test.ex-A-xxxx, ttl 5
-dnslists: wrote cache entry, ttl=5
+faking res_search() response length as 65535
+ writing neg-cache entry for 99.99.99.V4NET.rbl.test.ex-A-xxxx, ttl 3000
+faking res_search() response length as 65535
+dnslists: wrote cache entry, ttl=3000
 DNS lookup for 99.99.99.V4NET.rbl.test.ex failed
 => that means V4NET.99.99.99 is not listed at rbl.test.ex
 deny: condition test failed in ACL "check_recipient"