Skip to content
Snippets Groups Projects
Commit 1e68194b authored by Nicolas KAROLAK's avatar Nicolas KAROLAK
Browse files

handle 127.0.1.1 hostname resolution

parent fa05ae19
No related branches found
No related tags found
No related merge requests found
......@@ -105,7 +105,7 @@ def test_vhost(
except Exception as e:
ip_error = f"{domain} not resolved: {e}"
else:
if ip != "127.0.0.1":
if ip != "127.0.0.1" and ip != "127.0.1.1":
ip_warning = f"{domain} resolve to {ip} instead of 127.0.0.1"
if ip_error:
if resolution_ignored and domain in resolution_ignored:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment