From 8241d8dda54bd5680b6fd8ef16108c0309a5ade7 Mon Sep 17 00:00:00 2001 From: Jeremy Harris Date: Sun, 10 May 2015 23:13:41 +0100 Subject: 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). --- test/dnszones-src/db.test.ex | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'test/dnszones-src/db.test.ex') 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 -- cgit v1.2.3