1
0
Fork 0
mirror of https://github.com/Luzifer/dns.git synced 2024-11-09 22:50:06 +00:00
dns/named.conf
Knut Ahlers d7d2c318a0
Do not blacklist master for 600s
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2019-09-12 13:13:35 +02:00

50 lines
1.1 KiB
Text

include "/etc/bind/rndc.key";
controls {
inet 127.0.0.1 port 953
allow { 127.0.0.1; } keys { "rndc-key"; };
};
options {
directory "/var/bind";
// Configure the IPs to listen on here.
listen-on { any; };
listen-on-v6 { none; };
allow-notify {
159.69.27.184; // ns1.kserver.biz
94.130.181.9; // ns2.kserver.biz
78.46.192.117; // ns3.kserver.biz
};
// Specify a list of IPs/masks to allow zone transfers to here.
//
// You can override this on a per-zone basis by specifying this inside a zone
// block.
//
// Warning: Removing this block will cause BIND to revert to its default
// behaviour of allowing zone transfers to any host (!).
allow-transfer {
none;
};
// If you have problems and are behind a firewall:
//query-source address * port 53;
pid-file "/var/run/named/named.pid";
allow-recursion { none; };
recursion no;
lame-ttl 60;
};
{% for zone in zones %}
zone "{{ zone }}" IN {
type slave;
file "/src/zones/db.{{ zone }}.repl";
masters port 1053 { 10.231.0.34; };
allow-query { any; };
};
{% endfor %}