智能dns
2017-05-16 20:17
148 查看
acl inet {
172.16.0.0/16;
192.168.1.0/24;};
allow-query {inet;};
none;
any;
智能DNS
view
view VIEW_NAME {
};
所有的区域都必须定义在视图中
zone "."定义在需要递归的区域中
acl telecom { 172.16.0.0/16;127.0.0.0/8;};
acl unicom { 192.168.0.0/24;0.0.0.0/0;};
options {
directory "/var/named";
recursion yes;
querylog yes;
};
view telecom {
match-clients {telecom;};
zone "a.com" {
type master;
file telecom.a.com.zone;};
};
view unicom {
match-clients { unicom;};
zone "a.com" {
type master;
file unicom.a.com.zone;};
};
view any {
match-clients {any;};
zone "a.com"; {
type master;
file any.zone;};
};
addtional options vor vebos output
1.print-severity
2.print-category
3.print-time
channel:日志保存位置
1、syslog
2、file:自定义保存日志信息的文件
#channel "fefault syslog" {syslog daemon;severity info;}
category
日志源:查询
区域传送
自定义日志来源
共15类:xfer-in
xfer-out
queries
config
notify
network
general
client
security
例:
logging {
channel my_file {
file "msgs.log" versions 3 size 10k;
severity info;
print-time yes;
};
channel my_syslog {
syslog local0;
severity debug;
};
category xfer-in {my_file;};
category config {my_syslog;};
};
dns工具:
queryperf
dnstop
172.16.0.0/16;
192.168.1.0/24;};
allow-query {inet;};
none;
any;
智能DNS
view
view VIEW_NAME {
};
所有的区域都必须定义在视图中
zone "."定义在需要递归的区域中
acl telecom { 172.16.0.0/16;127.0.0.0/8;};
acl unicom { 192.168.0.0/24;0.0.0.0/0;};
options {
directory "/var/named";
recursion yes;
querylog yes;
};
view telecom {
match-clients {telecom;};
zone "a.com" {
type master;
file telecom.a.com.zone;};
};
view unicom {
match-clients { unicom;};
zone "a.com" {
type master;
file unicom.a.com.zone;};
};
view any {
match-clients {any;};
zone "a.com"; {
type master;
file any.zone;};
};
addtional options vor vebos output
1.print-severity
2.print-category
3.print-time
channel:日志保存位置
1、syslog
2、file:自定义保存日志信息的文件
#channel "fefault syslog" {syslog daemon;severity info;}
category
日志源:查询
区域传送
自定义日志来源
共15类:xfer-in
xfer-out
queries
config
notify
network
general
client
security
例:
logging {
channel my_file {
file "msgs.log" versions 3 size 10k;
severity info;
print-time yes;
};
channel my_syslog {
syslog local0;
severity debug;
};
category xfer-in {my_file;};
category config {my_syslog;};
};
dns工具:
queryperf
dnstop
相关文章推荐
- 智能DNS服务器配置详解
- 在Win2003中安装bind教程(部署智能DNS)
- DNS之智能DNS一(Linux)
- Windows Server 2016 智能DNS(二)
- CentOS下搭建智能DNS系统wdDNS 的方法
- “河源职业技术学院”部署实易智能DNS管理系统
- 实易智能DNS软件界面展示
- 利用BIND+DLZ+MYSQL构建企业智能DNS
- 使用bind-9.7.2-P2配置智能DNS时,发现的小问题!
- 小米开源的基于twisted实现的智能dns系统:Smartdns
- 智能dns——wddns介绍及教程
- 智能DNS配置
- bind-dlz结合mysql实现智能DNS
- 使用BIND安装智能DNS服务器(一)---基本的主从DNS服务器搭建
- RHEL5--DNS智能策略解析
- 智能DNS 配置参考
- 在Win2003中安装bind【部署智能DNS】 推荐
- Bind+DLZ+MySql构建企业智能DNS
- DNS之智能DNS二(Windows)