This commit is contained in:
19
named.conf
19
named.conf
@@ -17,15 +17,16 @@ options {
|
||||
// Disable recursion (authoritative only)
|
||||
recursion no;
|
||||
|
||||
// Transfer settings
|
||||
// Global notification and transfer settings
|
||||
notify yes;
|
||||
also-notify {
|
||||
213.239.242.238;
|
||||
213.133.100.103;
|
||||
193.47.99.3;
|
||||
};
|
||||
|
||||
// Default transfer restrictions
|
||||
allow-transfer { none; };
|
||||
// Default transfer to secondary servers only
|
||||
allow-transfer { secondaries; };
|
||||
};
|
||||
|
||||
// TSIG Key for secure transfers (loaded from separate file)
|
||||
@@ -39,17 +40,7 @@ acl "secondaries" {
|
||||
193.47.99.3;
|
||||
};
|
||||
|
||||
// Template for standard zones
|
||||
zone-template "standard-zone" {
|
||||
type master;
|
||||
allow-transfer { secondaries; };
|
||||
notify yes;
|
||||
also-notify {
|
||||
213.239.242.238;
|
||||
213.133.100.103;
|
||||
193.47.99.3;
|
||||
};
|
||||
};
|
||||
// Standard zone settings are defined per zone in zones.conf
|
||||
|
||||
// Zone configurations (loaded from separate file)
|
||||
include "/etc/named/zones/zones.conf";
|
||||
|
||||
10
zones.conf
10
zones.conf
@@ -2,15 +2,13 @@
|
||||
// This file contains all zone definitions
|
||||
|
||||
// Primary zones
|
||||
zone "whiskeylimahotel.de" using-template "standard-zone" {
|
||||
zone "whiskeylimahotel.de" {
|
||||
type primary;
|
||||
file "whiskeylimahotel.de.zone";
|
||||
};
|
||||
|
||||
// Add additional zones here following the same pattern:
|
||||
// zone "example.com" using-template "standard-zone" {
|
||||
// zone "example.com" {
|
||||
// type primary;
|
||||
// file "example.com.zone";
|
||||
// };
|
||||
//
|
||||
// zone "test.org" using-template "standard-zone" {
|
||||
// file "test.org.zone";
|
||||
// };
|
||||
Reference in New Issue
Block a user