aboutsummaryrefslogtreecommitdiff
path: root/test/example_test.go
diff options
context:
space:
mode:
authorGravatar Miek Gieben <miek@miek.nl> 2017-04-13 16:25:16 +0100
committerGravatar GitHub <noreply@github.com> 2017-04-13 16:25:16 +0100
commitef4fa66e670fabe5c4dcfecc319c0f99d02bfd07 (patch)
treedfb7cfcaddebfa48ef9ebec5c14b9d374ec50669 /test/example_test.go
parent7a79b819262ddcccb1ce6d13d96211fea1861c4a (diff)
downloadcoredns-ef4fa66e670fabe5c4dcfecc319c0f99d02bfd07.tar.gz
coredns-ef4fa66e670fabe5c4dcfecc319c0f99d02bfd07.tar.zst
coredns-ef4fa66e670fabe5c4dcfecc319c0f99d02bfd07.zip
middleware/file: add test for SRV additional (#616)
Add test for checking the additional section after a SRV query. Though this wasn't fixed, but it is. Fixes #609
Diffstat (limited to 'test/example_test.go')
-rw-r--r--test/example_test.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/example_test.go b/test/example_test.go
index e8f30e983..5a71d3e3c 100644
--- a/test/example_test.go
+++ b/test/example_test.go
@@ -9,4 +9,6 @@ example.org. IN A 127.0.0.2
*.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.
+
+service.example.org. IN SRV 8080 10 10 example.org.
`