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

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

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

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

1 2  下一页

Tags:AIX 成功 配置

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