include "/etc/bind/named.conf.options";
include "/etc/bind/named.conf.local";
#include "/etc/bind/named.conf.default-zones";
view "fz-demo-lan" {
match-clients { 192.168.0.0/24; };
recursion yes;
include "/etc/bind/named.conf.default-zones";
zone "demo.com" {
type master;
file "/etc/bind/zones/master/fz.demo_com";
};
########################################################
view "bj-demo-lan" {
match-clients { 192.168.1.0/24; };
recursion no;
type master;
file "/etc/bind/zones/master/bj.demo_com";
#######################################################
view "fz-edu-lan" {
match-clients { 192.168.2.0/24; };
zone "edu.com" {
file "/etc/bind/zones/master/fz.edu_com";
view "fz-edu-out" {
match-clients { 192.168.3.1; };
file "/etc/bind/zones/master/bj.edu_com";
view "others" {
match-clients { any ;};
match-destinations { any ;};
allow-query { any ;};
allow-transfer { 192.168.0.7; };
file "/etc/bind/zones/master/other.demo_com";
file "/etc/bind/zones/master/other.edu_com";