To set up the main DNS server, the requirements are as follows: the DNS server can resolve the IP addresses of www.qq.com and www.163.com.
Install service pack
[root@server ~]# yum install bind -y
Turn off firewall and seliunx
Modify the DNS server main configuration file
[root@server ~]# vim /etc/named.conf
Add zone library parsing file
[root@server ~]# vim /var/named/named.qq.com
[root@server ~]# vim /var/named/named.163.com
Modify the DNS client configuration file /etc/resolv.conf
<pre>[root@server ~]# vim /etc/resolv.conf
nameserver 192.168.2.11
test