Commit 89acbe41 authored by sfPlayer1's avatar sfPlayer1

Update dns_update.py

Add new extra bool parameter.
parent 0e893626
...@@ -144,8 +144,8 @@ def build_zone(domain, all_domains, additional_records, env, is_zone=True): ...@@ -144,8 +144,8 @@ def build_zone(domain, all_domains, additional_records, env, is_zone=True):
records.append(("ns1", "A", env["PUBLIC_IP"], False)) records.append(("ns1", "A", env["PUBLIC_IP"], False))
records.append(("ns2", "A", env["PUBLIC_IP"], False)) records.append(("ns2", "A", env["PUBLIC_IP"], False))
if env.get('PUBLIC_IPV6'): if env.get('PUBLIC_IPV6'):
records.append(("ns1", "AAAA", env["PUBLIC_IPV6"])) records.append(("ns1", "AAAA", env["PUBLIC_IPV6"], False))
records.append(("ns2", "AAAA", env["PUBLIC_IPV6"])) records.append(("ns2", "AAAA", env["PUBLIC_IPV6"], False))
# Set the A/AAAA records. Do this early for the PRIMARY_HOSTNAME so that the user cannot override them # Set the A/AAAA records. Do this early for the PRIMARY_HOSTNAME so that the user cannot override them
# and we can provide different explanatory text. # and we can provide different explanatory text.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment