From 3bc38c89ab4f43231f002e5298429350b9252e65 Mon Sep 17 00:00:00 2001 From: Joshua Tauberer Date: Tue, 3 Nov 2015 06:48:04 -0500 Subject: [PATCH] secondary NS status checks in 3b91bc2c0a33eee8bb3feaa44f4f7c5747e34949 should not be skipped if the target IP address has been modified by a custom record see #582 --- management/status_checks.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/management/status_checks.py b/management/status_checks.py index 9942f34c..3a7cbb05 100755 --- a/management/status_checks.py +++ b/management/status_checks.py @@ -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")