I've got a setup where there is a primary router connected on the WAN side to an ADSL service and has a LAN address of 192.168.11.254. It is configured with specific external DNSs, and it also has a number of fixed DHCP allocations, each of which has a name. The hardware is an Asus RT-N12 with the recommended standard build of tomatousb.
A subnet is created using another router operating in "Wireless Client" mode, with a wireless connection to the primary router. It has a LAN address of 192.168.1.1. It is not configured with a DNS, but picks up 192.168.11.254 as its DNS via DHCP. It also has a number of fixed DHCP allocations, each of which has a name. The hardware is a Linksys WRT54GL with the recommended standard build of tomatousb.
Within the subnet (on machine with IP 192.168.1.241) it is possible to lookup names that have fixed DHCP in the subnet router. For example, "nslookup nas" will return the correct IP address.
I cannot look up names that have fixed DHCP in the primary router. For example, "nslookup voip" returns "*** Can't find voip: No answer". I can get an answer by using "nslookup voip 192.168.11.254" in which case the correct IP is returned. But this is no use for doing something like opening a browser on voip or runnng "ssh root@voip".
The subnet router has "Use internal DNS" ticked. Results seem to be the same whether or not "Use received DNS with user-entered DNS" is ticked.
Both routers are configured with a domain name, but adding the domain to the lookup does not affect the results.
Is there a configuration that would allow all the names in both the subnet and primary routers to be looked up correctly?