Commit 3bc38c89 authored by Joshua Tauberer's avatar Joshua Tauberer

secondary NS status checks in 3b91bc2c should...

secondary NS status checks in 3b91bc2c should not be skipped if the target IP address has been modified by a custom record

see #582
parent 4995cebc
......@@ -402,9 +402,8 @@ def check_dns_zone(domain, env, output, dns_zonefiles):
control panel to set the nameservers to %s."""
% (existing_ns, correct_ns) )
# If the user is probably not using external DNS...
if ip == env['PUBLIC_IP'] and custom_secondary_ns:
# Check that each custom secondary nameserver resolves the IP address.
if custom_secondary_ns:
for ns in custom_secondary_ns:
# We must first resolve the nameserver to an IP address so we can query it.
ns_ip = query_dns(ns, "A")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment