allow-recusion {172.168.10.3/24; } |
acl list { 221.3.131.5; 221.3.131.6;zone "test.com" { type master; file"test.com "; allow-transfer { list; }; }; }; |
options {allow-query { 210.10.0.0/8; 211.10.0.0/8;}; }; |
view view_name { match-clients { address_match_list }; [ view_option; ...] zone_statement; ... }; |
view "internal" { match-clients { our-nets;}; // 匹配内网客户的访问 recursion yes; // 对内网客户允许执行递归查询 zone "example.com" { // 定义内网客户可见的区声明 type master; file"example.com.hosts.internal"; }; }; view "external" { match-clients { any;}; // 匹配 Internet 客户的访问 recursion no; // 对 Internet 客户不允许执行递归查询 zone "example.com" { // 定义 Internet 客户可见的区声明 typemaster; file "example.com.hosts.external"; }; }; |
options { version “Unkown” }; |
欢迎光临 360°网站管家_运维学院_提供最新最全的服务器运维视频教程与网站维护视频教程 (http://bbs.360wzgj.com/) | Powered by Discuz! X3.2 |