Skip to main content

title

write contents here

How to

检查dns

# 查看dns设置是否正确
cat /etc/resolv.conf
# 出现nameserver 127.0.0.1,说明dnsmasq接管了dns服务,但其并没有正确工作。

如果出现dns解析失败,可以尝试修改resolv.conf,指向网关或者1.1.1.1等公共dns。

dnsmasq命令

#停止
/etc/init.d/dnsmasq stop
#启动
/etc/init.d/dnsmasg start

References

https://www.openwrt.pro/post-44.html https://openwrt.org/docs/guide-user/base-system/dhcp.dnsmasq