前提是修改主机名为cetiti111
[root@cetiti111 ~]# hostname
cetiti111
[root@cetiti111 ~]# yum -y install bind*
[root@cetiti111 named]# vi /etc/named.conf
//
// named.conf
//
// Provided by Red Hat bind package to configure the ISC BIND named(8) DNS
// server as a caching only nameserver (as a localhost DNS resolver only).
//
// See /usr/share/doc/bind*/sample/ for example named configuration files.
//
options {
listen-on
CentOS 6.5 DNS服务器配置教程
本文档详细介绍了如何在CentOS 6.5上搭建DNS服务器。首先,将主机名设置为cetiti111,然后通过yum安装bind软件包。接着,编辑/etc/named.conf配置文件,创建并编辑域名linux.com.zone和反向区域192.168.153.rev。更新权限后,使用named-checkzone检查配置文件,并调整iptables规则以允许DNS服务的UDP和TCP端口。最后,验证DNS解析功能正常工作,能够正确解析主机名和IP地址。
订阅专栏 解锁全文
3388

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



