在RedHat Linux 9.0下配置DNS服务器Bind 9.2.6(4)

时间:2025-04-19

在RedHat Linux 9.0下配置DNS服务器Bind 9.2.6

;; WHEN: Tue Oct 10 10:16:47 2006 ;; MSG SIZE rcvd: 436

配置rndc

# rndc-confgen >/etc/bind/rndc.conf # cat -n /etc/bind/rndc.conf

1 # Start of rndc.conf 2 key "rndc-key" { 3 algorithm hmac-md5;

4 secret "6wVd+yM4v80YJuIdp0o+vg=="; 5 }; 6

7 options {

8 default-key "rndc-key"; 9 default-server 127.0.0.1; 10 default-port 953; 11 };

12 # End of rndc.conf 13

14 # Use with the following in named.conf, adjusting the allow list as needed: 15 # key "rndc-key" { 16 # algorithm hmac-md5;

17 # secret "6wVd+yM4v80YJuIdp0o+vg=="; 18 # }; 19 #

20 # controls {

21 # inet 127.0.0.1 port 953

22 # allow { 127.0.0.1; } keys { "rndc-key"; }; 23 # };

24 # End of named.conf

将rndc中的部分记录导入到/etc/bind/named.conf文件中,并修改/etc/bind/named.conf,将导入的配置前面的注释去掉。

# tail +13 /etc/bind/rndc.conf>>/etc/bind/named.conf # cat /etc/bind/named.conf

options {

directory "/var/bind"; };

zone "." { type hint; file "named.ca";

在RedHat Linux 9.0下配置DNS服务器Bind 9.2.6(4).doc 将本文的Word文档下载到电脑

精彩图片

热门精选

大家正在看

× 游客快捷下载通道(下载后可以自由复制和排版)

限时特价:7 元/份 原价:20元

支付方式:

开通VIP包月会员 特价:29元/月

注:下载文档有可能“只有目录或者内容不全”等情况,请下载之前注意辨别,如果您已付费且无法下载或内容有问题,请联系我们协助你处理。
微信:fanwen365 QQ:370150219