Centos bind配置进阶版

网络环境:一条移动线路,一条连通线路。

主DNS配置:文 章 源 自 note.t4x.orgByrd's Blog-https://note.t4x.org/system/bind-configuring-advanced/

主DNS:192.168.1.250文 章 源 自 note.t4x.orgByrd's Blog-https://note.t4x.org/system/bind-configuring-advanced/

创建控制密匙:


修改密匙权限:

[root@dns1 data]# vi /etc/named.rfc1912.zones文 章 源 自 note.t4x.orgByrd's Blog-https://note.t4x.org/system/bind-configuring-advanced/

文 章 源 自 note.t4x.orgByrd's Blog-https://note.t4x.org/system/bind-configuring-advanced/

从DNS配置:文 章 源 自 note.t4x.orgByrd's Blog-https://note.t4x.org/system/bind-configuring-advanced/

从DNS:192.168.1.251
[root@ns2 ~]#rndc-confgen -a
[root@ns2 ~]#rndc-confgen -a -c /var/named/cnc.key -k liantong
[root@ns2 ~]#rndc-confgen -a -c /var/named/cmcc.key -k yidong
[root@ns2 ~]#rndc-confgen -a -c /var/named/chinanet.key -k chinanet
[root@ns2 ~]#rndc-confgen -a -c /var/named/any.key -k any
cnc.key、cmcc.key密匙必须相同,可以使用vim去修改相关密匙
[root@ns2 named]# vi /var/named/chroot/etc/named.conf


[root@ns2 named]# vi /etc/named.rfc1912.zones
文 章 源 自 note.t4x.orgByrd's Blog-https://note.t4x.org/system/bind-configuring-advanced/

未完待续文 章 源 自 note.t4x.orgByrd's Blog-https://note.t4x.org/system/bind-configuring-advanced/

申明:本文由BYRD原创(基于Centos6.4 X64),未经许可禁止转载!文 章 源 自 note.t4x.orgByrd's Blog-https://note.t4x.org/system/bind-configuring-advanced/ 文 章 源 自 note.t4x.orgByrd's Blog-https://note.t4x.org/system/bind-configuring-advanced/

申明:除非注明Byrd's Blog内容均为原创,未经许可禁止转载!详情请阅读版权申明!

On this day in past years
August
23
 
Byrd
  • by Published onAugust 23, 2013
  • 原文链接:https://note.t4x.org/system/bind-configuring-advanced/
匿名

Comment

Anonymous

Slide puzzle verification.