Topic: conditional DNS forwarding

I'm running 10.03.1-rc4 on a Buffalo wzr-hp-g300nh
I'm trying to get conditional DNS forwarding working for a single domain.
I followed the commands shown here:
https://dev.openwrt.org/ticket/5230

I ran this command:
   uci add_list dhcp.@dnsmasq[0].servers=/example.com/10.85.0.10

The change showed up in /etc/config/dhcp
   config 'dnsmasq'
   ...
   list 'servers' '/example.com/10.85.0.10'

It doesn't seem to work at ll though. DNS requests for the example.com domain are not being forwarded to 10.85.0.10.

Any ideas?

Re: conditional DNS forwarding

uci add_list dhcp.@dnsmasq[0].servers=/example.com/10.85.0.10
uci commit dhcp
/etc/init.d/dnsmasq restart

Re: conditional DNS forwarding

Thanks. I tried that, but same results. It does not appear to be forwarding the request to 10.85.0.10 or something else is very messed up....
It returns 208.68.143.50 for all of the hosts in dsi-corp.net (I guess I'm not really protecting anything by using example.com). I believe 208.68.143.50 is a Comcast catch all.

root@OpenWrt:/etc/config# nslookup nshpwfs1.dsi-corp.net
Server:    127.0.0.1
Address 1: 127.0.0.1 localhost.

Name:      nshpwfs1.dsi-corp.net
Address 1: 208.68.143.50
root@OpenWrt:/etc/config# nslookup nshpwis05.dsi-corp.net
Server:    127.0.0.1
Address 1: 127.0.0.1 localhost.

Name:      nshpwis05.dsi-corp.net
Address 1: 208.68.143.50
root@OpenWrt:/etc/config#

It can ping 10.85.0.10 fine
root@OpenWrt:/etc/config# ping 10.85.0.10
PING 10.85.0.10 (10.85.0.10): 56 data bytes
64 bytes from 10.85.0.10: seq=0 ttl=127 time=33.370 ms
64 bytes from 10.85.0.10: seq=1 ttl=127 time=34.597 ms

If I try a direct nslookup to 10.85.0.10, I don't even get the correct IP:
root@OpenWrt:/etc/config#  nslookup nshpwfs1.dsi-corp.net 10.85.0.10
Server:    10.85.0.10
Address 1: 10.85.0.10

Name:      nshpwfs1.dsi-corp.net
Address 1: 208.68.143.50


Machines on the LAN side of the router get the correct IP if I explicitly ask 10.85.0.10
Non-authoritative answer:
Name:    nshpwis05.dsi-corp.net
Address:  208.68.143.50

> server 10.85.0.10
Default Server:  [10.85.0.10]
Address:  10.85.0.10

> nshpwfs1.dsi-corp.net
Server:  [10.85.0.10]
Address:  10.85.0.10

Name:    nshpwfs1.dsi-corp.net
Address:  10.85.0.41