Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mailinabox
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
mailinabox
Commits
37fcc5b5
Commit
37fcc5b5
authored
Jul 18, 2014
by
Joshua Tauberer
Browse files
Options
Browse Files
Download
Plain Diff
Add AAAA records for ns1/ns2
Merges branch 'patch-1' of
https://github.com/sfPlayer1/mailinabox
parents
42c89103
89acbe41
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
dns_update.py
management/dns_update.py
+3
-0
No files found.
management/dns_update.py
View file @
37fcc5b5
...
...
@@ -143,6 +143,9 @@ def build_zone(domain, all_domains, additional_records, env, is_zone=True):
# is managed outside of the box.
records
.
append
((
"ns1"
,
"A"
,
env
[
"PUBLIC_IP"
],
False
))
records
.
append
((
"ns2"
,
"A"
,
env
[
"PUBLIC_IP"
],
False
))
if
env
.
get
(
'PUBLIC_IPV6'
):
records
.
append
((
"ns1"
,
"AAAA"
,
env
[
"PUBLIC_IPV6"
],
False
))
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
# and we can provide different explanatory text.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment