summaryrefslogtreecommitdiff
path: root/test/scripts/2200-dnsdb/2200
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2015-09-17 13:35:16 +0100
committerJeremy Harris <jgh146exb@wizmail.org>2015-09-17 13:35:16 +0100
commit14b3c5bc64a16df07583fe4b5ef2e0129d063893 (patch)
tree76f33f84acdf7e5af636dbea346da58e1cb09cc0 /test/scripts/2200-dnsdb/2200
parentf64fbe039033d51be277431ce09fabd3ebbc7e74 (diff)
DNS: time-limit cached returns, using TTL. Bug 1395
This can matter for fast-changing data such as DNSBLs.
Diffstat (limited to 'test/scripts/2200-dnsdb/2200')
-rw-r--r--test/scripts/2200-dnsdb/220013
1 files changed, 13 insertions, 0 deletions
diff --git a/test/scripts/2200-dnsdb/2200 b/test/scripts/2200-dnsdb/2200
index 40837dbd0..9f6262524 100644
--- a/test/scripts/2200-dnsdb/2200
+++ b/test/scripts/2200-dnsdb/2200
@@ -49,3 +49,16 @@ defer_strict:ten-1 ${lookup dnsdb{defer_strict,a=test.again.dns:ten-1.te
delay1500 ${lookup dnsdb{retrans_1s,retry_2,a=delay1500.test.ex}}
****
+#
+# Cacheability
+exim -d-all+lookup -be
+a=localhost.test.ex ${lookup dnsdb{a=localhost.test.ex}{$value}fail}
+a=localhost.test.ex ${lookup dnsdb{a=localhost.test.ex}{$value}fail}
+****
+#
+# TTL-limited noncacheability
+exim -d-all+lookup -odq user@shorthost.test.ex
+****
+#
+no_msglog_check
+#