Redhat Linux Bind 域名解释服务 DNS<1>

xiaoxiao2025-01-31  11

题记:心中有魔,总会伴随您一生!

不能入世,何以“出”世?

环境:Windows XP + Vmware【Redhat Linux 9】

步骤1:安装bind-devel-9.2.1-1.6.i386.rpm cahing-namserver-7.2-7.noarch.rpm

               如图:

 

                 

 

          

步骤2:启动服务1

 

                 

 

启动服务2:

 

 

 

步骤3 vi /etc/named.conf

// generated by named-bootconf.pl

options { directory "/var/named"; /*  * If there is a firewall between you and nameservers you want  * to talk to, you might need to uncomment the query-source  * directive below.  Previous versions of BIND always asked  * questions using port 53, but BIND 8.1 uses an unprivileged  * port by default.  */ // query-source address * port 53;};

// // a caching only nameserver config// controls { inet 127.0.0.1 allow { localhost; } keys { rndckey; };};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; };};

include "/etc/rndc.key";

 

步骤四:localhost.zone 和named.ca 和 named.local 待续...

转载请注明原文地址: https://www.6miu.com/read-5023619.html

最新回复(0)