mirror of
https://github.com/saltstack-formulas/bind-formula.git
synced 2025-04-16 17:50:23 +00:00
Optionally include generated forwarders.conf
This commit is contained in:
parent
6e8652dcb3
commit
5039e09dad
2 changed files with 12 additions and 1 deletions
|
@ -91,7 +91,12 @@ options {
|
|||
|
||||
notify no;
|
||||
|
||||
disable-empty-zone "1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.IP6.ARPA";
|
||||
disable-empty-zone "1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.IP6.ARPA";
|
||||
|
||||
# include the forwarders.conf file generated by netconfig(8)
|
||||
{%- if salt['pillar.get']('bind:config:include_forwarders', False) %}
|
||||
include "/etc/named.d/forwarders.conf";
|
||||
{% endif %}
|
||||
|
||||
{#- Allow inclusion of arbitrary statements #}
|
||||
{%- for statement, value in salt['pillar.get']('bind:config:options', map.get('options', {})).items() -%}
|
||||
|
|
|
@ -206,6 +206,12 @@ bind:
|
|||
|
||||
# End Debian based systems features
|
||||
|
||||
# on SUSE include the forwarders.conf file generated by netconfig(8)
|
||||
bind:
|
||||
config:
|
||||
include_forwarders: True
|
||||
|
||||
|
||||
|
||||
### Keys, Zones, ACLs and Views ###
|
||||
bind:
|
||||
|
|
Loading…
Add table
Reference in a new issue