2019-04-06 20:48:47 +02:00
|
|
|
view "local" {
|
2019-03-07 17:21:38 +01:00
|
|
|
match-clients {
|
2019-12-05 13:41:27 +01:00
|
|
|
127.0.0.0/8;
|
2019-04-06 20:48:47 +02:00
|
|
|
10.0.0.0/8;
|
|
|
|
172.16.0.0/12;
|
|
|
|
192.168.0.0/16;
|
2019-04-26 21:32:25 +02:00
|
|
|
::1;
|
|
|
|
fc00::/7;
|
2019-03-07 17:21:38 +01:00
|
|
|
};
|
|
|
|
|
2019-04-26 21:32:25 +02:00
|
|
|
// Allow recursion
|
2019-04-26 18:59:01 +02:00
|
|
|
recursion yes;
|
|
|
|
allow-recursion { any; };
|
2019-03-07 17:21:38 +01:00
|
|
|
|
2019-04-26 21:32:25 +02:00
|
|
|
// Define explicit notify for specific slaves
|
2019-04-26 18:59:01 +02:00
|
|
|
notify explicit;
|
|
|
|
also-notify {
|
2019-03-07 17:21:38 +01:00
|
|
|
};
|
|
|
|
|
2019-04-26 21:32:25 +02:00
|
|
|
// Define allowed hosts for transfers
|
2019-04-26 18:59:01 +02:00
|
|
|
allow-transfer {
|
2019-03-07 17:21:38 +01:00
|
|
|
};
|
|
|
|
|
2019-04-26 21:32:25 +02:00
|
|
|
// Include zones of this view
|
2019-04-06 20:48:47 +02:00
|
|
|
include "/etc/bind/views/local.conf";
|
2019-03-07 17:21:38 +01:00
|
|
|
};
|
|
|
|
view "public" {
|
|
|
|
match-clients {
|
|
|
|
};
|
|
|
|
|
2019-04-26 21:32:25 +02:00
|
|
|
// Define explicit notify for specific slaves
|
2019-04-26 18:59:01 +02:00
|
|
|
notify explicit;
|
|
|
|
also-notify {
|
2019-03-07 17:21:38 +01:00
|
|
|
};
|
|
|
|
|
2019-04-26 21:32:25 +02:00
|
|
|
// Define allowed hosts for transfers
|
2019-04-26 18:59:01 +02:00
|
|
|
allow-transfer {
|
2019-03-07 17:21:38 +01:00
|
|
|
};
|
|
|
|
|
2019-04-26 21:32:25 +02:00
|
|
|
// Include zones of this view
|
2019-03-07 17:21:38 +01:00
|
|
|
include "/etc/bind/views/public.conf";
|
2019-04-26 18:59:01 +02:00
|
|
|
};
|