AIX上成功配置BIND8 DNS Server(含主备机)
2008-09-06 08:22:53 来源:WEB开发网10.9.221.159--Master DNS Server
DNS配置记录
--在AIX 5.2上使用named8的版本
# rm /usr/sbin/named /usr/sbin/named-xfer
ln -s /usr/sbin/named8 /usr/sbin/named
ln -s /usr/sbin/named8-xfer /usr/sbin/named-xfer
# named -v
named 8.2.2-P5+Fix_for_CERT_till_10_15_03 Thu Nov 6 19:49:06 CST 2003
build@builder12.austin.ibm.com:/52F/obj/power/tcpip/usr/sbin/named8
--/etc/named.conf
options {
directory "/usr/local/domain";
};
logging {
channel syslog_query {
file "/usr/local/domain/bindquery.log";
severity debug;
};
channel syslog_info {
file "/usr/local/domain/bindall.log" versions 20 size 2m;
print-category yes;
print-time yes;
severity notice;
};
category default {
syslog_info;
};
};
zone "." IN {
type hint;
file "named.ca";
};
zone "localhost" IN {
type master;
file "localhost.zone";
allow-update {none;};
};
zone "0.0.127.in-addr.arpa" IN {
type master;
file "named.local";
allow-update {none;};
};
zone "boss.sh.cmcc" IN {
type master;
file "boss.sh.cmcc.zone";
allow-update {none;};
notify yes;
};
zone "221.9.10.in-addr.arpa" IN {
type master;
file "named.reverse.zone";
allow-update {none;};
};
--/usr/local/domain/named.ca
--/usr/local/domain/localhost.zone
$TTL 6400
@ IN SOA @ root.localhost (
1000 ; serial
15 ; refresh
5 ; retry
604800 ; expire
6400 ; ttl
)
IN NS localhost.
@ IN A 127.0.0.1
--/usr/local/domain/named.local
$TTL 6400
@ IN SOA localhost. root.localhost. (
2000 ; serial
15 ; refresh
5 ; retry
604800 ; expire
6400 ; ttl
)
@ IN NS localhost.
1 IN PTR localhost.
--/usr/local/domain/boss.sh.cmcc.zone
$TTL 6400
@ IN SOA dns1.boss.sh.cmcc. root.dns1.boss.sh.cmcc. (
3000 ; serial
15 ; refresh
5 ; retry
604800 ; expire
6400 ; ttl
)
IN NS dns1.boss.sh.cmcc.
IN NS dns2.boss.sh.cmcc.
dns1 IN A 10.9.221.159
dns2 IN A 10.9.221.158
--/usr/local/domain/named.reverse.zone
$TTL 6400
@ IN SOA dns1.boss.sh.cmcc. root.dns1.boss.sh.cmcc. (
4000 ; serial
15 ; refresh
5 ; retry
604800 ; expire
6400 ; ttl
)
IN NS dns1.boss.sh.cmcc.
IN NS dns2.boss.sh.cmcc.
159 PTR dns1.boss.sh.cmcc.
158 PTR dns2.boss.sh.cmcc.
--/etc/resolv.conf
nameserver 10.9.221.159
nameserver 10.9.221.158
--/etc/netsvc.conf
hosts=local,bind,nis
- ››成功的虚拟化系统是如何炼成的
- ››成功搭建Hadoop集群后简单实验
- ››AIX 下 FTP 服务配置方法
- ››配置MySQL出错The service could not be started....
- ››配置apache虚拟主机
- ››配置远程客户机使用命名管道协议访问SQL服务器
- ››配置SQL Server2005以允许远程访问
- ››配置ISA Server以创建站点到站点VPN 连接之一
- ››配置ISA Server以创建站点到站点VPN 连接之二
- ››配置ISA Server以创建站点到站点VPN 连接之三 启用...
- ››配置VPN服务器中的L2TP/IPSEC:ISA2006系列之二十...
- ››配置单网卡的ISA缓存服务器:ISA2006系列之二十七...
更多精彩
赞助商链接