vm-mts/wg_bind/bind_conf/named.conf
2025-05-07 15:34:35 +04:00

65 lines
1.4 KiB
Plaintext
Executable File

acl "acl" {
10.0.0.0/8;
192.168.0.0/16;
172.16.0.0/12;
11.0.0.0/8;
};
http local {
endpoints { "/dns-query"; };
};
options {
directory "/var/cache/bind";
allow-query { "acl"; };
allow-recursion { "acl"; };
forwarders {
1.1.1.1;
77.88.8.8;
};
listen-on { any; };
listen-on-v6 { none; };
listen-on tls ephemeral { any; };
listen-on-v6 tls ephemeral { any; };
listen-on tls ephemeral http local { any; };
listen-on-v6 tls ephemeral http local { any; };
};
zone "rgk.fm" {
type slave;
file "/etc/bind/rgk.fm.db";
masters { 192.168.30.22; };
};
zone "tormob.duckdns.org" {
type master;
file "/etc/bind/tormob.duckdns.org";
};
logging {
channel bind.log {
file "/var/log/bind/bind.log" versions 10 size 20m;
severity warning;
print-category yes;
print-severity yes;
print-time yes;
};
channel "query" {
file "/var/log/bind/query.log" versions 10 size 4m;
severity warning;
print-time yes;
print-severity yes;
print-category yes;
};
category queries { query; };
category default { bind.log; };
category config { bind.log; };
};