From 05c2f3c9a2e2257f268e2078517311aeb3c35ede Mon Sep 17 00:00:00 2001 From: Lyle Keeton Date: Wed, 14 May 2025 10:58:17 -0500 Subject: [PATCH] Fix missing PUBLIC_IPV6 in test for whether custom AAAA record blocks SSL certificate generation (#2491) On new installation, if you create AAAA record for mydomain.tld then mydomain.tld isn't available for SSL certificate or website. It erroneously reports that it's hosted elsewhere. --- management/web_update.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/management/web_update.py b/management/web_update.py index c31fe8fc..e97bc60d 100644 --- a/management/web_update.py +++ b/management/web_update.py @@ -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