mirror of
https://github.com/saltstack-formulas/bind-formula.git
synced 2025-04-15 17:20:21 +00:00
FreeBSD: disable default_zones when views are used
This commit is contained in:
parent
5074b60db6
commit
fdf20d5632
2 changed files with 3 additions and 1 deletions
|
@ -84,6 +84,7 @@ options {
|
|||
{%- endfor %}
|
||||
};
|
||||
|
||||
{%- if salt['pillar.get']('bind:config:default_zones', False) and not salt['pillar.get']('bind:configured_views', False) %}
|
||||
// If you enable a local name server, don't forget to enter 127.0.0.1
|
||||
// first in your /etc/resolv.conf so this server will be queried.
|
||||
// Also, make sure to enable it in /etc/rc.conf.
|
||||
|
@ -374,6 +375,7 @@ zone "1.168.192.in-addr.arpa" {
|
|||
};
|
||||
};
|
||||
*/
|
||||
{% endif %}
|
||||
|
||||
include "{{ map.local_config }}";
|
||||
{%- if 'keys' in salt['pillar.get']('bind') %}
|
||||
|
|
|
@ -29,7 +29,7 @@ bind:
|
|||
# (ipv4: 4, ipv6: 6). Omitting this reverts to
|
||||
# binds default of both.
|
||||
|
||||
# Debian based systems
|
||||
# Debian and FreeBSD based systems
|
||||
default_zones: True # If set to True, the default-zones configuration
|
||||
# will be enabled. Defaults to False.
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue