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