changes
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
// BIND Configuration for Hidden Primary Server
|
// BIND Configuration for Hidden Primary Server
|
||||||
|
|
||||||
options {
|
options {
|
||||||
directory "/var/named";
|
directory "/etc/named/zones";
|
||||||
pid-file "/var/run/named/named.pid";
|
pid-file "/var/run/named/named.pid";
|
||||||
|
|
||||||
// Hide version information
|
// Hide version information
|
||||||
@@ -51,10 +51,8 @@ zone-template "standard-zone" {
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
// Zone configurations using template
|
// Zone configurations (loaded from separate file)
|
||||||
zone "whiskeylimahotel.de" using-template "standard-zone" {
|
include "/etc/named/zones/zones.conf";
|
||||||
file "whiskeylimahotel.de.zone";
|
|
||||||
};
|
|
||||||
|
|
||||||
// Logging configuration
|
// Logging configuration
|
||||||
logging {
|
logging {
|
||||||
|
|||||||
16
zones.conf
Normal file
16
zones.conf
Normal 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";
|
||||||
|
// };
|
||||||
Reference in New Issue
Block a user