mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2024-11-22 02:17:26 +00:00
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:
parent
4995cebc38
commit
3bc38c89ab
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user