From 14b3c5bc64a16df07583fe4b5ef2e0129d063893 Mon Sep 17 00:00:00 2001 From: Jeremy Harris Date: Thu, 17 Sep 2015 13:35:16 +0100 Subject: DNS: time-limit cached returns, using TTL. Bug 1395 This can matter for fast-changing data such as DNSBLs. --- test/scripts/2200-dnsdb/2200 | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'test/scripts/2200-dnsdb/2200') 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 +# -- cgit v1.2.3