makeup and optimitions

This commit is contained in:
creme 2019-08-19 12:33:54 +02:00
parent 3c0ebebc26
commit 0238cb4cfd
Signed by: creme
GPG Key ID: C147C3B7FBDF08D0
4 changed files with 8 additions and 13 deletions

View File

@ -16,9 +16,8 @@ chmod 400 envs_msT.key tilde_msT.key letsencrypt_U.key
chmod 600 Kenvs_mst.* Ktilde_mst.* Kletsencrypt_u.*
chown root:bind "$BINDIR"/slave_tilde
chmod 644 "$BINDIR"/slave_tilde
test ! -d "$BINDIR"/keys && mkdir -p "$BINDIR"/keys
test ! -d "$BINDIR"/zones && mkdir -p "$BINDIR"/zones
test ! -d "$BINDIR"/slaves && mkdir -p "$BINDIR"/slaves
chown -R bind:bind "$BINDIR"/zones "$BINDIR"/slaves
chmod 755 "$BINDIR"/zones

View File

@ -1,7 +1,6 @@
//
// Forward Zones
zone "tilde." IN {
type forward;
forward only;

View File

@ -2,7 +2,7 @@ options {
directory "/var/cache/bind";
managed-keys-directory "/var/cache/bind";
dump-file "/var/cache/bind/cache_dump.db";
dump-file "/var/cache/bind/cache_dump.db";
statistics-file "/var/cache/bind/bind_stats.txt";
memstatistics-file "/var/cache/bind/bind_mem_stats.txt";
@ -21,31 +21,29 @@ options {
//========================================================================
// If BIND logs error messages about the root key being expired,
// you will need to update your keys. See https://www.isc.org/bind-keys
// you will need to update your keys. See https://www.isc.org/bind-keys
//========================================================================
dnssec-enable yes;
dnssec-validation auto;
dnssec-lookaside auto;
key-directory "/etc/bind/keys/";
// Do not make public version of BIND
version none;
auth-nxdomain no; # conform to RFC1035
auth-nxdomain no; // conform to RFC1035
recursive-clients 4096;
// edns-udp-size 4096;
// max-udp-size 512;
listen-on-v6 { none; };
listen-on { any; };
listen-on-v6 { none; };
allow-transfer { none; };
allow-update { none; };
allow-transfer { none; };
allow-query { any; };
allow-query-cache { internals; };
allow-recursion { internals; };
};

View File

@ -1,6 +1,5 @@
//
// Slave Zones
// Tilde Zones - ( ben@tilde.team )
include "/etc/bind/slave_tilde";