DNS SERVER 구축
rpm -aq|grep bind
rpm -aq|grep caching
rpm -ivh bind-(버젼).rpm
rpm -ivh bind-chroot-(버젼).rpm
rpm -ivh caching-nameserver-(버젼).rpm
rpm -aq|grep bind
rpm -aq|grep caching
rpm -ivh bind-(버젼).rpm
rpm -ivh bind-chroot-(버젼).rpm
rpm -ivh caching-nameserver-(버젼).rpm
[root@localhost /var/named/chroot/var/named]#
[root@localhost /var/named/chroot/var/named]# cp localhost.zone a.com.zone
[root@localhost /var/named/chroot/var/named]# vi a.com.zone
$TTL 86400
@ IN SOA @ root (
42 ; serial (d. adams)
3H ; refresh
15M ; retry
1W ; expiry
1D ) ; minimum
IN NS @
IN MX 10 mail.a.com.
www IN A 192.168.1.22
ftp IN A 192.168.1.22
mail IN A 192.168.1.22
[root@localhost ~]# vi /etc/named.conf
zone "a.com" IN {
type master;
file "a.com.zone";
allow-update { none; };
};