bundles/powerdns: allow exposing API to the world

This commit is contained in:
Franzi 2023-01-29 08:06:27 +01:00
parent 60585a3716
commit 31e614ab3b
Signed by: kunsi
GPG key ID: 12E3D2136B818350

View file

@ -211,8 +211,9 @@ def firewall(metadata):
return {
'firewall': {
'port_rules': {
'53': atomic(metadata.get('powerdns/restrict-to', {'*'})),
'53/udp': atomic(metadata.get('powerdns/restrict-to', {'*'})),
'53': atomic(metadata.get('powerdns/restrict-to/dns', {'*'})),
'53/udp': atomic(metadata.get('powerdns/restrict-to/dns', {'*'})),
'8081': atomic(metadata.get('powerdns/restrict-to/api', set())),
},
},
}