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

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

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


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


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

               如图:

 

               Bind  Cash-Name

 

          

步骤2:启动服务1

 

                 服务

 

启动服务2:

 

启动服务

 

NsLookUp

 

步骤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 待续...

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值