- 2009/08/25 CentOS 4.x DNS with chroot bind
LazyDreamy » Search » Results » Articles
DNS와 관련된 글 1개
CentOS 4.x DNS with chroot bind
드림 | 2009/08/25 20:04
Bind 설치
# yum install bind bind-chroot bind-libs bind-utils caching-nameserver
rndc key
# rndc-confgen –a
설정파일은 알아서;;
/var/named/chroot/etc/named.conf
/var/named/chroot/var/named
방화벽 수정
# vi /etc/sysconfig/iptables
-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 53 -j ACCEPT
-A RH-Firewall-1-INPUT -m state --state NEW -m udp -p udp --dport 53 -j ACCEPT
자동 시작 설정
# chkconfig named on
참고 : http://www.wains.be/index.php/2007/02/04/centos-chroot-dns-with-bind/























