summaryrefslogtreecommitdiff
path: root/test/dnszones-src
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2017-05-07 15:37:18 +0100
committerJeremy Harris <jgh146exb@wizmail.org>2017-05-07 18:38:35 +0100
commitb7e4352c99fe3dee2af93f06ef0ac74ee355d5ea (patch)
tree7f46d3980607d9a4aa57498a6dad9aece4dfecfe /test/dnszones-src
parent5d6bdf01a921a88030e9baec7ba5f238da90e979 (diff)
Testsuite: add DANE testcase for TLSA lookup SERVFAIL
Diffstat (limited to 'test/dnszones-src')
-rw-r--r--test/dnszones-src/db.test.ex4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/dnszones-src/db.test.ex b/test/dnszones-src/db.test.ex
index 349fbd4d3..50bd6b073 100644
--- a/test/dnszones-src/db.test.ex
+++ b/test/dnszones-src/db.test.ex
@@ -465,6 +465,10 @@ DNSSEC _1225._tcp.danelazy2 CNAME test.again.dns.
DNSSEC dane.no.1 A HOSTIPV4
DNSSEC dane.no.2 A 127.0.0.1
+; a broken dane config (or under attack) where the TLSA lookup fails (as opposed to there not being one)
+DNSSEC danebroken1 A 127.0.0.1
+_1225._tcp.danebroken1 CNAME test.fail.dns.
+
; ------- Testing delays ------------
DELAY=500 delay500 A HOSTIPV4