From: Otto Date: Mon, 29 Nov 2021 10:56:25 +0000 (+0100) Subject: Fix v6 setup and start using a more modern auth on circleci X-Git-Tag: rec-4.7.0-alpha0~7^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2d0fc474f8b03b536a95c6b9b05e96c6e8c51e30;p=thirdparty%2Fpdns.git Fix v6 setup and start using a more modern auth on circleci --- diff --git a/.circleci/config.yml b/.circleci/config.yml index 02560ea72a..8ab11a3db9 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -301,7 +301,7 @@ commands: parameters: version: type: string - default: "42" + default: "45" distro: type: string default: "debian" diff --git a/regression-tests.recursor-dnssec/recursortests.py b/regression-tests.recursor-dnssec/recursortests.py index 8cbdba1d26..f2602a23cd 100644 --- a/regression-tests.recursor-dnssec/recursortests.py +++ b/regression-tests.recursor-dnssec/recursortests.py @@ -526,11 +526,11 @@ distributor-threads={threads}""".format(confdir=confdir, print("Launching pdns_server..") authcmd = list(cls._auth_cmd) authcmd.append('--config-dir=%s' % confdir) - authcmd.append('--local-address=%s' % ipaddress) - if (confdir[-4:] == "ROOT") and have_ipv6(): - authcmd.append('--local-ipv6=::1') - else: - authcmd.append('--local-ipv6=') + ipconfig = ipaddress + # auth-8 is the auth serving the root, it gets an ipv6 address + if (confdir[-6:] == "auth-8") and have_ipv6(): + ipconfig += ',::1' + authcmd.append('--local-address=%s' % ipconfig) print(' '.join(authcmd)) logFile = os.path.join(confdir, 'pdns.log')