plugin/cache: Set min TTL default to zero (#2199)

* set min ttl default to zero

* add short TTL test case
This commit is contained in:
Chris O'Haver 2018-10-16 09:24:40 -04:00 committed by Yong Tang
parent 8cc8afa96a
commit 4a5641c379
4 changed files with 22 additions and 10 deletions

View file

@ -7,6 +7,7 @@ example.org. IN NS b.iana-servers.net.
example.org. IN NS a.iana-servers.net.
example.org. IN A 127.0.0.1
example.org. IN A 127.0.0.2
short.example.org. 1 IN A 127.0.0.3
*.w.example.org. IN TXT "Wildcard"
a.b.c.w.example.org. IN TXT "Not a wildcard"
cname.example.org. IN CNAME www.example.net.