]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Fix v6 setup and start using a more modern auth on circleci
authorOtto <otto.moerbeek@open-xchange.com>
Mon, 29 Nov 2021 10:56:25 +0000 (11:56 +0100)
committerOtto <otto.moerbeek@open-xchange.com>
Mon, 29 Nov 2021 10:56:49 +0000 (11:56 +0100)
.circleci/config.yml
regression-tests.recursor-dnssec/recursortests.py

index 02560ea72a56042efe1b24897575f52aa4f3b941..8ab11a3db9655cd87e9618dd816761637a069739 100644 (file)
@@ -301,7 +301,7 @@ commands:
     parameters:
       version:
         type: string
-        default: "42"
+        default: "45"
       distro:
         type: string
         default: "debian"
index 8cbdba1d260a43d7b952a22c63c263c466b6ef9a..f2602a23cd52b121cd947a43cc55a4c2905d62dd 100644 (file)
@@ -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')