// Last updated: 1999.11.08 by C.S.Chen, cschen@cc.nctu.edu.tw
/* 另一种整段的解表示法
底下是,有关 BIND/DNS server 的一段解说明.
-----------------------------------------
0. 底下的设定, 适用於 BIND 8.2.1 以後 (应该可适用 8.x 版)
1. 同一个 DNS server, 可以同时管理许多不同的 domain zones.
2. 一个 server host, 可能是某一个网域的 master server, 但同时也可能
是另一个网域的 slave/secondary DNS server, 并不突.
Notes about the configuration file.
-----------------------------------------
1. "acl" defintions ( mutiple instances)
2. "logging" definitions (1 blocks)
3. "options" defintions (1 block)
4. "server" defintions ( multiple instances )
5. "zone" definitions ( mutiple instances )
*/
//=================================================================
acl "Bogus-IP" {
140.113.212.195;
140.113.87.118;
};
acl "NCTU-Campus-IP" {
localhost;
140.113.0.0/16;
140.126.237.0/24;
};
acl "TANet-Backbone-IP" {
163.28.0.0/16;
};
//=================================================================
logging {
channel LAMER_log {
file "/var/log/dns-lamer.log" versions 3 size 10m;
severity info; # only send priority info and higher
print-severity yes; print-time yes;
};
channel SEC_log {
file "/var/log/dns-sec.log" versions 3 size 10m;
severity info; # only send priority info and higher
print-severity yes; print-time yes;
};
channel STAT_log {
file "/var/log/dns-stat.log" versions 3 size 10m;
| 论坛热门帖子: | [lch203] 写得蛮好的linux学习笔记(10-21) [黑马制造] 学习java的30个目标(10-19) [笑傲股林] 做测试半年了,有点迷茫,应该再学些什么提高自己的测试水平和测试能力呢?(10-19) [udp8589] 大家用google的来吱一声? 用百度的~~也来报道下?(10-18) [沂偌掳兆] 本人总结的一些认为C++比较经典的书籍,希望对大家有用(10-18) |
| TAG标签: | 例子 设定 系统 // zone file allow-query any //-------------- |
注册
个人空间
