Cau hinh dns centos
- 1. Nguy畛n Duy 畉t - SVTT Page 1
CI 畉T DNS CENTOS 6.5
I/ C畉u h狸nh Hostname:
S畛a file /etc/hosts:
# vi /etc/hosts
S畛a file /etc/sysconfig/network
# vi /etc/sysconfig/network
Restart h畛 th畛ng:init 6
Ki畛m tra Hostname:
II/ C畉u h狸nh DNS:
1/ Ci 畉t DNS:
D湛ng c但u l畛nh: rpm ivh <t棚n g坦i> 畛 ci 畉t c叩c g坦i sau:
bind-9.8.2-0.17.rc1.el6_4.6.i686.rpm
bind-libs-9.8.2-0.17.rc1.el6_4.6.i686.rpm
bind-utils-9.8.2-0.17.rc1.el6_4.6.i686.rpm
Ta c坦 th畛 t狸m c叩c g畛i tr棚n trong DVD ci 畉t CentOS
- 2. Nguy畛n Duy 畉t - SVTT Page 2
2/ C畉u h狸nh DNS:
T畉o file /etc/named.conf nh動 sau:
# vi /etc/hosts
T畉o file /var/named/named.root b畉ng c叩ch download tr棚n m畉ng nh動 sau:
Ch炭 箪: Server ph畉i k畉t n畛i 畉n internet.
T畉o file /var/named/athena.edu.vn.db:
- 3. Nguy畛n Duy 畉t - SVTT Page 3
T畉o file /var/named/100.168.192.in-addr.arpa.db:
Restart named daemon
T畉t Firewall:
Ch畛n Firewall
Configuration
Nh畉n Space Bar 畛
disable Firewall OK