1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2025-07-07 23:50:55 +00:00

Merge branch 'main' of https://github.com/mail-in-a-box/mailinabox into merge-upstream

This commit is contained in:
downtownallday 2025-05-15 06:31:58 -04:00
commit 0fc1a731fb

View File

@ -64,7 +64,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