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
2c324d0b
Commit
2c324d0b
authored
Jul 13, 2017
by
Michael Kroes
Committed by
Joshua Tauberer
Jul 13, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
web_domains should also normalize ipv6 addresses (#1201)
parent
2bd6cc4d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
status_checks.py
management/status_checks.py
+1
-1
No files found.
management/status_checks.py
View file @
2c324d0b
...
@@ -640,7 +640,7 @@ def check_web_domain(domain, rounded_time, ssl_certificates, env, output):
...
@@ -640,7 +640,7 @@ def check_web_domain(domain, rounded_time, ssl_certificates, env, output):
for
(
rtype
,
expected
)
in
((
"A"
,
env
[
'PUBLIC_IP'
]),
(
"AAAA"
,
env
.
get
(
'PUBLIC_IPV6'
))):
for
(
rtype
,
expected
)
in
((
"A"
,
env
[
'PUBLIC_IP'
]),
(
"AAAA"
,
env
.
get
(
'PUBLIC_IPV6'
))):
if
not
expected
:
continue
# IPv6 is not configured
if
not
expected
:
continue
# IPv6 is not configured
value
=
query_dns
(
domain
,
rtype
)
value
=
query_dns
(
domain
,
rtype
)
if
value
==
expected
:
if
normalize_ip
(
value
)
==
normalize_ip
(
expected
)
:
ok_values
.
append
(
value
)
ok_values
.
append
(
value
)
else
:
else
:
output
.
print_error
(
"""This domain should resolve to your box's IP address (
%
s
%
s) if you would like the box to serve
output
.
print_error
(
"""This domain should resolve to your box's IP address (
%
s
%
s) if you would like the box to serve
...
...
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