1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2026-04-05 22:07:23 +02:00
This commit is contained in:
Lyle Keeton
2025-03-26 20:18:41 -05:00
committed by GitHub

View File

@@ -52,7 +52,7 @@ def get_domains_with_a_records(env):
domains = set()
dns = get_custom_dns_config(env)
for domain, rtype, value in dns:
if rtype == "CNAME" or (rtype in {"A", "AAAA"} and value not in {"local", env['PUBLIC_IP']}):
if rtype == "CNAME" or (rtype in {"A", "AAAA"} and value not in {"local", env['PUBLIC_IP'], env['PUBLIC_IPV6']}):
domains.add(domain)
return domains