1:vi /jffs/dnsmasq.conf.add
内容:addn-hosts=/jffs/configs/hosts
2:vi /jffs/configs/hosts
输入规则,并且保存
3:service restart_dnsmasq
重启dns服务
[……]
1:vi /jffs/dnsmasq.conf.add
内容:addn-hosts=/jffs/configs/hosts
2:vi /jffs/configs/hosts
输入规则,并且保存
3:service restart_dnsmasq
重启dns服务
[……]