mirror of
https://github.com/saltstack-formulas/bind-formula.git
synced 2025-04-17 02:00:23 +00:00
Fixed condition to include key_config. Added possibility to include default-zones on Debian systems.
This commit is contained in:
parent
81fea01f6d
commit
48ba120d45
2 changed files with 15 additions and 7 deletions
|
@ -8,6 +8,10 @@
|
|||
|
||||
include "{{ map.options_config }}";
|
||||
include "{{ map.local_config }}";
|
||||
{%- if salt['pillar.get']('bind:keys', {}) is defined %}
|
||||
{%- if 'keys' in salt['pillar.get']('bind') %}
|
||||
include "{{ map.key_config }}";
|
||||
{% endif %}
|
||||
{%- if salt['pillar.get']('bind:config:default_zones', False) %}
|
||||
include "{{ map.default_zones_config }}";
|
||||
{% endif %}
|
||||
|
||||
|
|
|
@ -13,8 +13,12 @@ bind:
|
|||
options:
|
||||
allow-recursion: '{ any; };' # Never include this on a public resolver
|
||||
|
||||
# force bind to serve only one IP protocol (ipv4: 4, ipv6: 6). omitting this reverts to binds default of both.
|
||||
protocol: 4
|
||||
# force bind to serve only one IP protocol (ipv4: 4, ipv6: 6). omitting this reverts to binds default of both.
|
||||
protocol: 4
|
||||
|
||||
# For Debian based systems:
|
||||
# If set to True, the default-zones configuration will be enabled. Defaults to False.
|
||||
default_zones: True
|
||||
|
||||
bind:
|
||||
keys:
|
||||
|
|
Loading…
Add table
Reference in a new issue