1 2 3 4 5 |
yum install dnsmasq -y systemctl enable dnsmasq systemctl start dnsmasq netstat -lnp|grep dnsmasq #检查是否成功占用53端口 |
1 2 3 4 5 6 7 |
vim /etc/dnsmasq.d/aiyunsi.conf #上游dns服务器 server=114.114.114.114 server=8.8.8.8 # 添加如下解析记录 address=/8848.aiyunsi.com/192.168.140.149 |
重启
systemctl restart dnsmasq
Posted in: 开源软件
Comments are closed.