test_dns: add ADSP and DMARC tests, see #14

This commit is contained in:
Joshua Tauberer 2014-05-10 08:01:10 -04:00
parent c403895f95
commit c722625041
1 changed files with 2 additions and 0 deletions

View File

@ -29,6 +29,8 @@ def test(server, description):
(hostname, "MX", "10 " + primary_hostname + "."),
(hostname, "TXT", "\"v=spf1 mx -all\""),
("mail._domainkey." + hostname, "TXT", "\"v=DKIM1; k=rsa; s=email; \" \"p=__KEY__\""),
("_adsp._domainkey." + hostname, "TXT", "\"dkim=all\""),
("_dmarc." + hostname, "TXT", "\"v=DMARC1; p=quarantine\""),
]
return test2(tests, server, description)