1. apt install dnsmasq -y
2. vim /etc/dnsmasq.d/resolv.conf
address=/xxx.yyy.com/21.xx.xx.x
3. service dnsmasq start
4. iptables -I INPUT 1 -p udp --dport 53 -j ACCEPT
1. apt install dnsmasq -y
2. vim /etc/dnsmasq.d/resolv.conf
address=/xxx.yyy.com/21.xx.xx.x
3. service dnsmasq start
4. iptables -I INPUT 1 -p udp --dport 53 -j ACCEPT