44 lines
693 B
Plaintext
44 lines
693 B
Plaintext
view "local" {
|
|
match-clients {
|
|
127.0.0.0/8;
|
|
10.0.0.0/8;
|
|
172.16.0.0/12;
|
|
192.168.0.0/16;
|
|
::1;
|
|
fc00::/7;
|
|
};
|
|
|
|
// Allow recursion
|
|
recursion yes;
|
|
allow-recursion { any; };
|
|
allow-query-cache { any; };
|
|
|
|
|
|
// Define explicit notify for specific slaves
|
|
notify explicit;
|
|
also-notify {
|
|
};
|
|
|
|
// Define allowed hosts for transfers
|
|
allow-transfer {
|
|
};
|
|
|
|
// Include zones of this view
|
|
include "/etc/bind/views/local.conf";
|
|
};
|
|
view "public" {
|
|
match-clients {
|
|
};
|
|
|
|
// Define explicit notify for specific slaves
|
|
notify explicit;
|
|
also-notify {
|
|
};
|
|
|
|
// Define allowed hosts for transfers
|
|
allow-transfer {
|
|
};
|
|
|
|
// Include zones of this view
|
|
include "/etc/bind/views/public.conf";
|
|
}; |