severity debug 3;
print-time yes;
print-severity yes;
print-category yes;
};
category general { all_log; };
category client { all_log; };
category queries { all_log; };
};
view localhost_resolver {
match-clients { localhost; };
match-destinations { localhost; };
recursion yes;
include "/etc/named.rfc1912.zones";
};
这是一家区域移动DNS维护手册,你面包含了在ha(redhat 下面的热备环境下dns管理)包括了dns一些常用的管理任务和命令等
//min_hui temporary acl
include "/etc/acl_temp";
//jin_qiao acl
acl "cmnet" {
180.178.192.0/20;
180.188.16.0/22;
180.188.20.0/23;
180.188.22.0/24;
180.188.28.0/22;
180.188.64.0/20;
180.188.70.0/24;
180.188.71.0/24;
180.188.80.0/22;
180.188.84.0/23;
180.188.87.0/24;
180.188.88.0/21;
113.18.64.0/19;
113.18.104.0/21;
113.18.144.0/21; };
view "cm_qzgov" IN {
match-clients { cmnet;acl_temp; };
match-destinations { any; };
recursion yes;
forwarders { 123.125.9.211;123.125.9.212; };
forward first;
additional-from-auth yes;
additional-from-cache yes;
include "/etc/named.rfc1912.zones";
};
//min_hui acl
acl "cm_min_hui" { 122.48.176.0/20; };
view "cm_min_hui_view" IN {
match-clients { cm_min_hui; };
match-destinations { any; };
recursion yes;
forwarders { 219.141.136.10;211.138.151.161; };
forward first;
additional-from-auth yes;
这是一家区域移动DNS维护手册,你面包含了在ha(redhat 下面的热备环境下dns管理)包括了dns一些常用的管理任务和命令等
include "/etc/named.rfc1912.zones";
};
//tie_tong
acl "tie_tong" { 122.91.8.0/21;
122.91.16.0/21;
110.125.192.0/19;
110.125.224.0/20;
111.142.64.0/21; };
view "tie_tong_view" IN {
match-clients { tie_tong; };
match-destinations { any; };
recursion yes;
forwarders { 222.47.29.93;222.47.62.142; };
forward first;
additional-from-auth yes;
additional-from-cache yes;
include "/etc/named.rfc1912.zones";
};
//cmnet_self acl
acl "cmnet_self" { 211.143.144.0/20;
211.138.136.0/21;
211.138.144.0/20;
211.138.132.0/22;
211.143.160.0/19;
211.143.192.0/19;
211.148.224.0/19;
218.207.96.0/19;
218.207.128.0/18;
218.207.192.0/19;
112.5.16.0/20;
112.5.32.0/19;
180.188.23.0/22;
180.188.27.0/23; };
view "cmnet_self_view" IN {
match-clients { cmnet_self; };
match-destinations { any; };
recursion yes;
forwarders { 211.138.151.161;211.138.156.66; };
forward first;
这是一家区域移动DNS维护手册,你面包含了在ha(redhat 下面的热备环境下dns管理)包括了dns一些常用的管理任务和命令等
2.2 zone区域信息配置
区域信息默认是放在named.conf主配置文件中,但是因为zone信息可能会不断的增加,造成named.conf配置文件变成很大,不便管理和阅读。对以便以管理,特别将zone隔离出来,信息存放在一个单独的文件中,
用include关键字来引用。 下面是对include所引用的区域信息文件的部分内容做下解析
(named.rfc1912.zones配置文件没有完全贴出来,重复的部分省去)
这是一家区域移动DNS维护手册,你面包含了在ha(redhat 下面的热备环境下dns管理)包括了dns一些常用的管理任务和命令等
};
zone "0.0.127.in-addr.arpa" IN {
type master;
file "named.local";
allow-update { none; };
};
zone "0.168.192.in-addr.arpa" IN {
type master;
file "0.168.192.zone";
allow-update { none; };
};
zone "0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa" IN {
type master;
file "named.ip6.local";
allow-update { none; };
};
zone "255.in-addr.arpa" IN {
type master;
file "named.broadcast";
allow-update { none; };
};
zone "0.in-addr.arpa" IN {
type master;
file "named.zero";
allow-update { none; };
};
zone "" IN {
type master;
file ".zone";
allow-update { none; };
};
zone "137.207.218.in-addr.arpa" IN {
type master;
file "137.207.218.zone";
allow-update { none; };
};
这是一家区域移动DNS维护手册,你面包含了在ha(redhat 下面的热备环境下dns管理)包括了dns一些常用的管理任务和命令等
Type的几种类型,一共分为六种:
2.2.1 Master
主DNS服务器:拥有区域数据文件,并对此区域提供管理数据
2.2.2 Slave
辅助DNS服务器:拥有主DNS服务器的区域数据文件的副本,辅助DNS服务器会从主DNS服务器同步所有区域数据。
百度搜索“77cn”或“免费范文网”即可找到本站免费阅读全部范文。收藏本站方便下次阅读,免费范文网,提供经典小说医药卫生移动DNS维护手册V1.2(3)在线全文阅读。
相关推荐: