mx-unsec-a-sec MX 5 a-sec
DNSSEC mx-sec-a-unsec MX 5 a-unsec
DNSSEC mx-sec-a-sec MX 5 a-sec
+DNSSEC mx-sec-a-aa MX 5 a-aa
+AA mx-aa-a-sec MX 5 a-sec
a-unsec A V4NET.0.0.100
DNSSEC a-sec A V4NET.0.0.100
-
DNSSEC l-sec A 127.0.0.1
+AA a-aa A V4NET.0.0.100
+
; ------- Testing DANE ------------
; full suite dns chain, sha512
--- /dev/null
+# check debug output if we request AD but get AA
+exim -d-all+dns -bt foo@mx-sec-a-aa.test.ex
+****
+exim -d-all+dns -bt foo@mx-aa-a-sec.test.ex
--- /dev/null
+Exim version x.yz ....
+configuration file is TESTSUITE/test-config
+admin user
+DNS lookup of mx-sec-a-aa.test.ex (MX) using fakens
+DNS lookup of mx-sec-a-aa.test.ex (MX) succeeded
+DNS lookup of a-aa.test.ex (A) using fakens
+DNS lookup of a-aa.test.ex (A) succeeded
+DNS lookup of a-aa.test.ex (A/AAA/A6) requested AD, but got AA
+>>>>>>>>>>>>>>>> Exim pid=pppp terminating with rc=0 >>>>>>>>>>>>>>>>
+Exim version x.yz ....
+configuration file is TESTSUITE/test-config
+admin user
+DNS lookup of mx-aa-a-sec.test.ex (MX) using fakens
+DNS lookup of mx-aa-a-sec.test.ex (MX) succeeded
+DNS lookup of mx-aa-a-sec.test.ex (MX) requested AD, but got AA
+DNS lookup of a-sec.test.ex (A) using fakens
+DNS lookup of a-sec.test.ex (A) succeeded
+>>>>>>>>>>>>>>>> Exim pid=pppp terminating with rc=0 >>>>>>>>>>>>>>>>
--- /dev/null
+foo@mx-sec-a-aa.test.ex
+ router = dnslookup, transport = smtp
+ host a-aa.test.ex [V4NET.0.0.100] MX=5 ad=no
+foo@mx-aa-a-sec.test.ex
+ router = dnslookup, transport = smtp
+ host a-sec.test.ex [V4NET.0.0.100] MX=5 ad=no