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

see #582
This commit is contained in:
Joshua Tauberer 2015-11-03 06:48:04 -05:00
parent 4995cebc38
commit 3bc38c89ab
1 changed files with 2 additions and 3 deletions

View File

@ -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.
# 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")