这两天为了在局域网内配置DNS服务器花了一番功夫,最终搞定了。简单整理一下步骤和遇到的问题
1.在https://www.isc.org/software/bind下载bind9, 我使用的版本是BIND 9.6.0-P1 for Windows XP/2003/2008
2.解压缩,运行BINDInstall.exe,不要勾选“Start Bind Service After Install”,Service Account Name和Password一定要输入有管理员权限的(Administrator),否则会提示创建不成功。然后点击“Install”执行安装
3.右击安装目录(C:/WINDOWS/system32/dns)->属性->安全,添加刚刚安装时指定的用户(Administrator)并给予完全控制权限
4.进入安装目录(/windows/system32/dns)下面的bin目录,而后运行
rndc-confgen -a (运行完成后会在etc目录下生成rndc.key)
rndc-confgen > ../etc/rndc.conf
5.在C:/WINDOWS/system32/dns/etc下创建如下几个文件:
a. named.root
; This file holds the information on root name servers needed to
; initialize cache of Internet domain name servers
; (e.g. reference this file in the "cache . "
; configuration file of BIND domain name servers).
;
; This file is made available by InterNIC
; under anonymous

本文介绍了如何在Windows XP环境下安装和配置BIND 9 DNS服务器,包括下载软件、安装过程、设置权限、创建配置文件以及解决常见问题,如账户权限、文件空格和权限错误。
最低0.47元/天 解锁文章
1360

被折叠的 条评论
为什么被折叠?



