CloudStack:DNS配置

配置服务器

yum install dnsmasq -y 

编辑iptables文件:

-A INPUT -p tcp -m tcp --dport 53 -j ACCEPT
-A INPUT -p udp -m udp --dport 53 -j ACCEPT

启动DNS服务器

chkconfig dnsmasq on
service dnsmasq start

配置客户端

yum install dnsmasq -y 

编辑iptables文件:

-A INPUT -p tcp -m tcp --dport 53 -j ACCEPT
-A INPUT -p udp -m udp --dport 53 -j ACCEPT

启动DNS服务器

chkconfig dnsmasq on
service dnsmasq start
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章