标签:
/etc/named.conf
视图启动
acl tel
{
172.16.0.0/16;
};
acl li
{
192.168.0.0 /24;
}
view 名称{
match-client{ tel; }
zone "xu.com" IN {
type master;
file "tel.xu.com.zone"
}
}
view 名称
{
match-client{ li;};
zone "xu.com " IN {
type master;
file "li.xu.com.zone";
};
}
日志
options
{
querylog yes;
};
catagory:日志源
查询
区域传送
可以通过catagory定于日志源
channel :日志保存位置
syslog
file:自定于保存日志信息的文件
需定义日志级别
logging
{
channel my_file{
file "log.msgs" versions 3 size 10k;
severity dynamic;日志级别
}
channel my_syslog{
syslog local0;
severity info
};
category xfer-in {my_file;};
category update {my_syslog;};
};
queryperf :压力测试
标签:
原文地址:http://www.cnblogs.com/xubk/p/4250580.html