diff options
author | Jeremy Harris <jgh146exb@wizmail.org> | 2015-09-17 13:35:16 +0100 |
---|---|---|
committer | Jeremy Harris <jgh146exb@wizmail.org> | 2015-09-17 13:35:16 +0100 |
commit | 14b3c5bc64a16df07583fe4b5ef2e0129d063893 (patch) | |
tree | 76f33f84acdf7e5af636dbea346da58e1cb09cc0 /test/dnszones-src | |
parent | f64fbe039033d51be277431ce09fabd3ebbc7e74 (diff) |
DNS: time-limit cached returns, using TTL. Bug 1395
This can matter for fast-changing data such as DNSBLs.
Diffstat (limited to 'test/dnszones-src')
-rw-r--r-- | test/dnszones-src/db.test.ex | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/test/dnszones-src/db.test.ex b/test/dnszones-src/db.test.ex index 4cbf0f251..61f274eb0 100644 --- a/test/dnszones-src/db.test.ex +++ b/test/dnszones-src/db.test.ex @@ -51,6 +51,10 @@ mx.xn--1xa A V4NET.255.255.255 thishost A 127.0.0.1 localhost4 A 127.0.0.1 +; A localhost with short TTL + +TTL=2 shorthost A 127.0.0.1 + ; Something that gives both the IP and the loopback @@ -170,7 +174,7 @@ cname4 CNAME thishost 13.12.11.V4NET.rbl A 127.0.0.2 TXT "This is a test blacklisting message" -14.12.11.V4NET.rbl A 127.0.0.2 +TTL=2 14.12.11.V4NET.rbl A 127.0.0.2 TXT "This is a test blacklisting message" 15.12.11.V4NET.rbl A 127.0.0.2 TXT "This is a very long blacklisting message, continuing for ages and ages and certainly being longer than 128 characters which was a previous limit on the length that Exim was prepared to handle." |