user
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed

This commit is contained in:
2025-10-28 09:57:53 +01:00
parent 34cd8fedfb
commit 23940044c5
2 changed files with 10 additions and 17 deletions

View File

@@ -1,41 +1,33 @@
// BIND Configuration for Hidden Primary Server
options {
directory "/etc/named/zones";
pid-file "/var/run/named/named.pid";
pid-file "/etc/named/zones/named.pid";
user "named";
group "named";
// Hide version information
version "DNS Server";
// Listen on all IPv4 interfaces on port 8053
listen-on port 8053 { any; };
listen-on-v6 { none; };
// Allow queries from anywhere (read-only)
allow-query { any; };
allow-transfer { any; };
// Disable recursion (authoritative only)
recursion no;
// Enable query logging
querylog yes;
// Global notification and transfer settings
notify yes;
also-notify {
213.239.242.238;
213.133.100.103;
193.47.99.3;
};
// Default transfer enabled
allow-transfer { any; };
};
// Zone configurations (loaded from separate file)
include "/etc/named/zones/zones.conf";
// Logging configuration
logging {
channel default_log {
file "/var/log/named/named.log" versions 3 size 5m;