1 / 7
文档名称:

DNS配置.doc

格式:doc   页数:7页
下载后只包含 1 个 DOC 格式的文档,没有任何的图纸或源代码,查看文件列表

如果您已付费下载过本站文档,您可以点这里二次下载

分享

预览

DNS配置.doc

上传人:xxj16588 2016/7/19 文件大小:0 KB

下载得到文件列表

DNS配置.doc

相关文档

文档介绍

文档介绍:DNS 配置 下 DNS 配置笔记作者: andrew_ai( 小艾) 环境:企业局域网系统: , 并设有三个段的 IP( 四网卡) ,分别是 ; ; 需配置文件: 1./etc/( 系统自带) 2./var/named/( 自建) 3./var/named/( 自建) 4./var/named/( 自建) 5./var/named/ 6./etc/ 跟很多菜菜们一样,我配置 DNS 也是一波三折,人都搞晕掉了, 查了很多资料也问了很多人,但得到的结果始终是那句: Can't find ... 。一怒之下,把自带的 BIND 干掉,重新安装了与之相关的所有套件再配置。嘿嘿... 搞定!!! ,后来怀疑可能是套件有问题或者是并没有装全( 未经考证) 。小弟我谨以此文章感谢所有无私网友的奉献精神, 并希望它能带给正处困境中的 Linuxer 一点帮助或启示。一、安装 BIND: 1. 下载如下套件: bind-devel-- bind-utils-- bind-- caching-nameserver-- 2. 如有自带 BIND 先除去。在 rpm -e bind 时可能出现错误提示: [******@andrew root]# rpm -e bind error: Failed dependencies: bind = is needed by (installed) bind-devel--16 bind is needed by (installed) caching-nameserver--7 bind >= - is needed by (installed) caching-nameserver--7 那就得先将提示的几个套件先移除。 3. 安装 BIND 及相关。 rpm -ivh 即可。当然,我把自带 BIND 移除也是被逼无路,迫不得已的之行为,对于高手们来说可能完全不必要。二、具体配置及说明: ### // generated by named- options { directory "/var/named"; ## 指定 DNS 文件所在的目录/* * If there isa firewall between you and nameservers you want * to talk to, you might need to ment the query-source * directive below. Previous versions of BIND always asked * questions using port 53, but BIND uses an unprivileged * port by default. */ // que