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
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章