diff --git a/tests/test_nginx_vhosts.py b/tests/test_nginx_vhosts.py
index a453f9602b2cc0c382df83e6b1a8b37d45511e73..77f042437b5f8506045c85d78a4a88b3cfe3dfb1 100755
--- a/tests/test_nginx_vhosts.py
+++ b/tests/test_nginx_vhosts.py
@@ -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: