1
0
Mirror von https://github.com/mail-in-a-box/mailinabox.git synchronisiert 2025-07-18 01:30:55 +00:00

Fix: Correct IP is reported when using custom DNS

Fix bug that reports wrong ip, when custom DNS is enabled
Dieser Commit ist enthalten in:
Wolf-Bastian Pöttner 2016-02-04 21:32:11 +01:00
Ursprung 4e18f66db6
Commit 239eac662c

Datei anzeigen

@ -464,7 +464,7 @@ def check_dns_zone(domain, env, output, dns_zonefiles):
elif ip is None:
output.print_error("Secondary nameserver %s is not configured to resolve this domain." % ns)
else:
output.print_error("Secondary nameserver %s is not configured correctly. (It resolved this domain as %s. It should be %s.)" % (ns, ip, env['PUBLIC_IP']))
output.print_error("Secondary nameserver %s is not configured correctly. (It resolved this domain as %s. It should be %s.)" % (ns, ip, correct_ip))
def check_dns_zone_suggestions(domain, env, output, dns_zonefiles, domains_with_a_records):
# Warn if a custom DNS record is preventing this or the automatic www redirect from