Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个 openwrt 路由器,以及一个连接到它的客户端 linux。我用
resolv-file=/tmp/resolv.conf.auto
例如,当我在客户端使用 nslookup 时,没问题nslookup google.com,但是nslookup bd.ysmood.org说No answer.
nslookup google.com
nslookup bd.ysmood.org
No answer
如何让路由器正常工作?
好的,因为 bd.ysmood.org 是一个内部 IP 地址。dnsmasqrebind_protection将使查找失败。
rebind_protection
编辑/etc/config/dhcp,找到该行:
/etc/config/dhcp
option rebind_protection 1
更改为1即可0。
1
0