CentOS 系统 DNS 安装 及 配置

  
        

一 : 安装 软件


yum -y install bind bind-chroot bind-libs bind-utils caching-nameserver 二 : d cd /var /named /chroot /etc /cp -p named .caching-nameserver.conf named.conf options {directory " /var /named /"; }; zone " test.com " IN {type master; file " test.com.zone ";}; zona " linux.com " IN {type master; file " linux.com.zone ";}; zona " 1.168.192.in-addr.arpa " IN {type master; archivo " 192.168.1.zone "; permitir-actualizar {ninguno; };}; cd /var /named /chroot /var /named /cp -p localdomain.zone test.com.zonecp -p localdomain.zone linux.com.zonecp -p named.local 192.168.1.zone # test.com.zone $ TTL 86400 @ IN SOA @ root (42; serial (d. Adams) 3H; actualización 15M; vuelva a intentar 1W; caducidad 1D); mínimo EN NS @ EN A 127.0.0.1 EN AAAA :: 1wwwtest EN A 192.168.1.122dnstest EN A 192.168.1.133mytest3 EN A 192.168.1.144 # linux.com.zone $ TTL 86400 @ IN SOA @ root (42; serial d. adams) 3H; actualizar 15M; reintentar 1W; caducidad 1D); mínimo EN NS @ EN A 127.0.0.1 EN AAAA :: 1wwwtest EN A 192.168.1.123dnstest EN A 192.168.1.134mytest3 EN A 192.168.1.145


# 192.168.1.zone $ TTL 86400 @ IN SOA @ raíz (42; serie (d. adams) 3H; actualización 15M; reintento 1W; caducidad 1D); mínimo IN NS @ IN A 127.0.0.1 IN AAAA :: 1192.168.1.123 IN A wwwtest192.168.1.134 IN A dnstest 192.168.1.145 IN A mytest3 二 : llamado 服务 servicio llamado reinicioen"],null,[0.93011588],en"]]]

Copyright © Conocimiento de Windows All Rights Reserved