dnsmasq 安装
yum install dnsmasq -y
cp /etc/resolv.conf /etc/resolv.dnsmasq.conf
vi /etc/dnsmasq.conf
resolv-file=/etc/resolv.dnsmasq.conf
conf-dir=/etc/dnsmasq.d
vi /etc/dnsmasq.d/dns.conf
address=/test.icaile.com/192.168.1.114
vi /etc/resolv.conf
本机ip
/etc/init.d/dnsmasq restart
ping -c 2 test.icaile.com
浙公网安备 33010602011771号