Made formating identical with Debian so we modify a minimum amount of lines

This commit is contained in:
Bogdan Radulescu 2017-07-19 19:11:26 +00:00
parent 3a15babe35
commit 3d01537369
3 changed files with 14 additions and 15 deletions

View file

@ -7,6 +7,4 @@
RESOLVCONF=no
# startup options for the server
# force ipv4 only
OPTIONS="{{ param|join(' ') }}"

View file

@ -1,7 +1,7 @@
// This is the primary configuration file for the BIND DNS server named.
//
// Please read /usr/share/doc/bind9/README.Debian.gz for information on the
// structure of BIND configuration files in Debian, *BEFORE* you customize
// Please read /usr/share/doc/bind9/README.Debian.gz for information on the
// structure of BIND configuration files in Debian, *BEFORE* you customize
// this configuration file.
//
// If you are just adding zones, please do that in /etc/bind/named.conf.local
@ -17,4 +17,3 @@ include "{{ map.default_zones_config }}";
{%- for incl in salt['pillar.get']('bind:config:includes', []) %}
include "{{ incl }}";
{% endfor %}

View file

@ -1,28 +1,30 @@
// prime the server with knowledge of the root servers
zone "." {
type hint;
file "/etc/bind/db.root";
type hint;
file "/etc/bind/db.root";
};
// be authoritative for the localhost forward and reverse zones, and for
// broadcast zones as per RFC 1912
zone "localhost" {
type master;
file "/etc/bind/db.local";
type master;
file "/etc/bind/db.local";
};
zone "127.in-addr.arpa" {
type master;
file "/etc/bind/db.127";
type master;
file "/etc/bind/db.127";
};
zone "0.in-addr.arpa" {
type master;
file "/etc/bind/db.0";
type master;
file "/etc/bind/db.0";
};
zone "255.in-addr.arpa" {
type master;
file "/etc/bind/db.255";
type master;
file "/etc/bind/db.255";
};