//acl cnc_allow_host{ // 192.168.1.102; //}; include "/var/named/cnc_allow_host.conf"; view "cnc_ww"{ match-clients{cnc_allow_host;}; Zone "baidu.com" { type Master; file "named.baidu.com"; //notify yes; allow-transfer{192.168.1.201;}; //also-notify{192.168.1.201;}; }; Zone "1.168.192.in-addr.arpa" { type Master; file "name.192.168.1"; allow-transfer{192.168.1.201;}; }; }; view "other_ww"{ match-clients{any;}; Zone "baidu.com" { type Master; file "named.baidu.com"; //notify yes; allow-transfer{192.168.1.201;}; //also-notify{192.168.1.201;}; }; Zone "1.168.192.in-addr.arpa" { type Master; file "name.192.168.1"; allow-transfer{192.168.1.201;}; }; };
每啥说的...
本文详细介绍了一个DNS服务器的具体配置过程,包括允许的客户端地址、视图设置、区域文件配置及数据同步等关键步骤。通过两个视图示例展示了如何为特定客户端提供DNS服务,并指定了允许进行区域传输的服务器。
1840

被折叠的 条评论
为什么被折叠?



