手机版

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

时间:2025-07-05   来源:未知    
字号:

在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文档下载到电脑,方便复制、编辑、收藏和打印
×
二维码
× 游客快捷下载通道(下载后可以自由复制和排版)
VIP包月下载
特价:29 元/月 原价:99元
低至 0.3 元/份 每月下载150
全站内容免费自由复制
VIP包月下载
特价:29 元/月 原价:99元
低至 0.3 元/份 每月下载150
全站内容免费自由复制
注:下载文档有可能出现无法下载或内容有问题,请联系客服协助您处理。
× 常见问题(客服时间:周一到周五 9:30-18:00)