]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Update dockerdata/startup.py 13124/head
authorHoutworm <34796415+Houtworm@users.noreply.github.com>
Wed, 14 Jun 2023 08:09:15 +0000 (10:09 +0200)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Mon, 14 Aug 2023 14:19:26 +0000 (16:19 +0200)
Co-authored-by: Remi Gacogne <github@coredump.fr>
(cherry picked from commit b9e82a462fae4cf5979de3e13c68a9af2ca169c8)

dockerdata/startup.py

index 320ef8ddf8d20ce205de3b110d7e5457bca125c5..e84055151a60aafc861a552a06ef5c26a3c600f8 100755 (executable)
@@ -37,6 +37,7 @@ elif product == 'dnsdist':
     args = ['--supervised', '--disable-syslog']
     apienvvar = 'DNSDIST_API_KEY'
     apiconftemplate = """webserver("0.0.0.0:8083")
+    setWebserverConfig({password='{{ apikey }}', apiKey='{{ apikey }}', acl='0.0.0.0/0'})
 controlSocket('0.0.0.0:5199')
 setKey('{{ apikey }}')
 setConsoleACL('0.0.0.0/0')