dnsmasq无法解析内部IP地址

时间:2014-05-12 05:50:11

标签: dns openwrt dnsmasq

我有一个openwrt路由器,并且连接了一个客户端linux。我用

配置了dnsmasq
resolv-file=/tmp/resolv.conf.auto

例如,当我在客户端上使用nslookup时,nslookup google.com没问题,但nslookup bd.ysmood.orgNo answer

如何让路由器正常工作?

1 个答案:

答案 0 :(得分:0)

好的,因为bd.ysmood.org是一个内部IP地址。 dnsmasq的rebind_protection将使查找失败。

修改/etc/config/dhcp,找到以下行:

option rebind_protection 1

1更改为0即可。