WEB开发网
开发学院操作系统Linux/Unix AIX上成功配置BIND8 DNS Server(含主备机) 阅读

AIX上成功配置BIND8 DNS Server(含主备机)

 2008-09-06 08:22:53 来源:WEB开发网   
核心提示: 10.9.221.158--Slave DNS ServerDNS配置记录--在AIX 5.2上使用named8的版本# rm /usr/sbin/named /usr/sbin/named-xferln -s /usr/sbin/named8 /usr/sbin/namedln -s /

10.9.221.158--Slave 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 slave;
  file "boss.sh.cmcc.zone";
  masters {10.9.221.159;};
  };
  zone "221.9.10.in-addr.arpa" IN {
  type slave;
  file "named.reverse.zone";
  masters {10.9.221.159;};
  };
  --从主DNS上复制named.ca,localhost.zone,named.local三个文件过来
  --/etc/resolv.conf
  nameserver 10.9.221.159
  nameserver 10.9.221.158
  --/etc/netsvc.conf
  hosts=local,bind,nis

上一页  1 2 

Tags:AIX 成功 配置

编辑录入:爽爽 [复制链接] [打 印]
赞助商链接