REGTESTS: Don't try to use real nameservers for testcases
Some checks are pending
Contrib / admin/halog/ (push) Waiting to run
Contrib / dev/flags/ (push) Waiting to run
Contrib / dev/haring/ (push) Waiting to run
Contrib / dev/hpack/ (push) Waiting to run
Contrib / dev/poll/ (push) Waiting to run
VTest / Generate Build Matrix (push) Waiting to run
VTest / (push) Blocked by required conditions
Windows / Windows, gcc, all features (push) Waiting to run

The test doesn't need a real nameserver and in a isolated, restricted
test environment it might not be able to reach one at all, like with a
network sandbox. So lets just use 127.0.0.1:53. Even if there is none,
that's not a problem for this particular test.

Signed-off-by: Christian Ruppert <idl0r@qasl.de>
This commit is contained in:
Christian Ruppert 2026-05-11 19:48:23 +02:00 committed by Willy Tarreau
parent 80fd275773
commit ae614e24c3

View file

@ -42,7 +42,7 @@ haproxy h2 -conf {
timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
resolvers systemdns
parse-resolv-conf
nameserver dns1 127.0.0.1:53
frontend myfrontend
bind "fd@${my_fe}"