bundles/powerdns: allow exposing API to the world
This commit is contained in:
parent
60585a3716
commit
31e614ab3b
1 changed files with 3 additions and 2 deletions
|
@ -211,8 +211,9 @@ def firewall(metadata):
|
||||||
return {
|
return {
|
||||||
'firewall': {
|
'firewall': {
|
||||||
'port_rules': {
|
'port_rules': {
|
||||||
'53': atomic(metadata.get('powerdns/restrict-to', {'*'})),
|
'53': atomic(metadata.get('powerdns/restrict-to/dns', {'*'})),
|
||||||
'53/udp': atomic(metadata.get('powerdns/restrict-to', {'*'})),
|
'53/udp': atomic(metadata.get('powerdns/restrict-to/dns', {'*'})),
|
||||||
|
'8081': atomic(metadata.get('powerdns/restrict-to/api', set())),
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue