aboutsummaryrefslogtreecommitdiff
path: root/test/example_test.go
diff options
context:
space:
mode:
authorGravatar Chris O'Haver <cohaver@infoblox.com> 2018-10-16 09:24:40 -0400
committerGravatar Yong Tang <yong.tang.github@outlook.com> 2018-10-16 06:24:40 -0700
commit4a5641c3793a750c1a0323f09678f3429b9b5649 (patch)
tree19070cdef66f87d98ed341d67656f2dc1860dcac /test/example_test.go
parent8cc8afa96a9cabe132417368e10aaa138e0b8aae (diff)
downloadcoredns-4a5641c3793a750c1a0323f09678f3429b9b5649.tar.gz
coredns-4a5641c3793a750c1a0323f09678f3429b9b5649.tar.zst
coredns-4a5641c3793a750c1a0323f09678f3429b9b5649.zip
plugin/cache: Set min TTL default to zero (#2199)
* set min ttl default to zero * add short TTL test case
Diffstat (limited to 'test/example_test.go')
-rw-r--r--test/example_test.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/example_test.go b/test/example_test.go
index 39d4ec49c..484cc67d7 100644
--- a/test/example_test.go
+++ b/test/example_test.go
@@ -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.