This commit is contained in:
2025-10-26 21:42:42 +01:00
parent ef089287ce
commit 1671cff9ae
2 changed files with 19 additions and 5 deletions

View File

@@ -1,7 +1,7 @@
// BIND Configuration for Hidden Primary Server
options {
directory "/var/named";
directory "/etc/named/zones";
pid-file "/var/run/named/named.pid";
// Hide version information
@@ -51,10 +51,8 @@ zone-template "standard-zone" {
};
};
// Zone configurations using template
zone "whiskeylimahotel.de" using-template "standard-zone" {
file "whiskeylimahotel.de.zone";
};
// Zone configurations (loaded from separate file)
include "/etc/named/zones/zones.conf";
// Logging configuration
logging {

16
zones.conf Normal file
View File

@@ -0,0 +1,16 @@
// Zone Configurations
// This file contains all zone definitions
// Primary zones
zone "whiskeylimahotel.de" using-template "standard-zone" {
file "whiskeylimahotel.de.zone";
};
// Add additional zones here following the same pattern:
// zone "example.com" using-template "standard-zone" {
// file "example.com.zone";
// };
//
// zone "test.org" using-template "standard-zone" {
// file "test.org.zone";
// };