From d3cacd4a11b60d1d0f2ff641852444d279da3351 Mon Sep 17 00:00:00 2001 From: Joshua Tauberer Date: Thu, 19 Jun 2014 18:47:41 -0400 Subject: [PATCH] update test_dns Don't check NS records for now because they will only appear on zones. If a hostname is a subdomain on a zone and not itself a zone, it will lack NS records. Also stop testing for ADSP, which we dropped in 126ea94ccf9d90d9b6b008bbba1c6d5ffa4460ec. --- tests/test_dns.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_dns.py b/tests/test_dns.py index 765d3c4..c5fe805 100755 --- a/tests/test_dns.py +++ b/tests/test_dns.py @@ -22,14 +22,14 @@ if len(sys.argv) == 4: def test(server, description): tests = [ (hostname, "A", ipaddr), - (hostname, "NS", "ns1.%s.;ns2.%s." % (primary_hostname, primary_hostname)), + #(hostname, "NS", "ns1.%s.;ns2.%s." % (primary_hostname, primary_hostname)), ("ns1." + primary_hostname, "A", ipaddr), ("ns2." + primary_hostname, "A", ipaddr), ("www." + hostname, "A", ipaddr), (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\""), + #("_adsp._domainkey." + hostname, "TXT", "\"dkim=all\""), ("_dmarc." + hostname, "TXT", "\"v=DMARC1; p=quarantine\""), ] return test2(tests, server, description)