test(ubuntu): tested on ubuntu

This commit is contained in:
2022-04-04 16:00:11 +02:00
parent d03840b0c6
commit cd3bd685ce
9 changed files with 51 additions and 31 deletions

View File

@ -0,0 +1,14 @@
#
# {{ ansible_managed }}
#
# zone "." IN {
# type hint;
# file "named.ca";
# };
include "{{ bind_config_directory }}/named.conf.acl";
include "{{ bind_config_directory }}/named.conf.logging";
include "{{ bind_config_directory }}/named.conf.options";
include "{{ bind_config_directory }}/named.conf.tsigkeys";
include "{{ bind_config_directory }}/named.conf.views";

View File

@ -167,7 +167,7 @@ options {
# allow-update-forwarding {};
{% endif %}
directory "/etc/named";
directory "{{ bind_config_directory }}";
dnssec-validation {{ bind9_options.dnssec_validation | default('no') }};

View File

@ -127,7 +127,7 @@ view "{{ view.name }}" {
# is complete. If the Master is not available or the Slave fails to
# contact the Master, ffor whatever reason, the zone may be left with
# no effective Authoritative Name Servers.
file "/etc/named/{{ zone.file }}";
file "{{ bind_config_directory }}/{{ zone.file }}";
# master servers
# https://bind9.readthedocs.io/en/latest/manpages.html?highlight=masters#masters

View File

@ -1,12 +0,0 @@
# zone "." IN {
# type hint;
# file "named.ca";
# };
include "/etc/named/named.conf.acl";
include "/etc/named/named.conf.logging";
include "/etc/named/named.conf.options";
include "/etc/named/named.conf.tsigkeys";
include "/etc/named/named.conf.views";
# include "/etc/named.rfc1912.zones";
# include "/etc/named.root.key";