diff --git a/named.conf b/named.conf index 676610e..9feac03 100644 --- a/named.conf +++ b/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"; diff --git a/zones.conf b/zones.conf index 1a8c556..576cfd1 100644 --- a/zones.conf +++ b/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"; // }; \ No newline at end of file