summaryrefslogtreecommitdiff
path: root/test/dnszones-src
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2015-05-10 23:13:41 +0100
committerJeremy Harris <jgh146exb@wizmail.org>2015-05-11 00:37:24 +0100
commit8241d8dda54bd5680b6fd8ef16108c0309a5ade7 (patch)
tree03514818515fe991a48b6c55799866996f4dbc12 /test/dnszones-src
parent99a0dc9358699cbe049cdd97874b17c263174f86 (diff)
Do not use the A lookup following an AAAA for setting the FQDN. Bug 1588
Normally benign, it bites when the pair was led to by a CNAME; modern usage is to not canoicalize the domain to a cname target (and we were inconsistent anyway for A-only vs AAAA+A).
Diffstat (limited to 'test/dnszones-src')
-rw-r--r--test/dnszones-src/db.test.ex6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/dnszones-src/db.test.ex b/test/dnszones-src/db.test.ex
index c9b004c76..05deca5d3 100644
--- a/test/dnszones-src/db.test.ex
+++ b/test/dnszones-src/db.test.ex
@@ -155,6 +155,12 @@ testsub.sub A V4NET.99.0.3
recurse.test.ex A V4NET.99.0.2
+; a CNAME pointing to a name with both ipv4 and ipv6 A-records
+; and one with only ipv4
+
+cname46 CNAME localhost
+cname4 CNAME thishost
+
; -------- Testing RBL records -------
; V4NET.11.12.13 is deliberately not reverse-registered