acl intranet {
	192.168.0.0/24;
	127.0.0.1;
	};

acl secondary {
	203.141.128.33;
	};

key "rndc-key" {
	algorithm hmac-md5;
 	secret "TG8gP75xBBTxQCwEG5K/aF==";
};
 
controls {
 	inet 127.0.0.1 port 953
 		allow { 127.0.0.1; } keys { "rndc-key"; };
};

options {
	directory "/usr/local/bind9/etc";
	allow-query { intranet; };
	allow-transfer { intranet; };
	version "";
	};

view "local" {
	match-clients { intranet; };
	recursion yes;

zone "." {
	type hint;
	file "named.root";
};

zone "localhost" {
	type master;
	file "localhost.zone";
	allow-query { any; };
	};

zone "0.168.192.in-addr.arpa" {
	type master;
	file "server.rev";
	allow-transfer { localnet; };
	};

zone "0.0.127.in-addr.arpa" {
	type master;
	file "localhost.rev";
	allow-transfer { localnet; };
	};

};


view "global" {
	match-clients { any; };
	allow-query { any; }; //正引きができないとき,この一行を挿入してみる//
	recursion no;

zone "example.jp"{
	type master;
	file "example.zone";
	allow-transfer { intranet; secondary; };
	};

zone "55.236.123.219.in-addr.arpa" {
	type master;
	file "example.rev";
	allow-transfer { intranet; secondary; };
	};
};