Ok, i'm fairly technical and pretty tech savvy and have read all the docs howtos but cant get rc5 to do the "right thing" for my setup. Essentially i need dnsmasq to offer a DNS nameserver to DHCP clients other than the IP address of the router itself.
So what i have in my internal network is a DNS bind9 nameserver set up to do 'views' so that depending on the internal host that's querying it. it offers different answers for hostname -> IP resolution. However irrespective of any setting i can think of, OpenWRT always serves itself up as the nameserver for DHCP clients.
An example: Say my network is like so
Host A: the OpenWRT router
Host B: the Bind 9 nameserver
Host C: a Linux DHCP laptop
Host D: a MacOSX DHCP laptop
Now i've set nvram_dns on A to point to B
If i bring up host C using DHCP, then its /etc/resolv.conf always gets set to host A
If i bring up host D the same thing happens, it sets host A as the nameserver
What config do i need to do on OpenWRT to specify that it should push host B as the nameserver ?
Help, my hair is nearly all gone... What am i doing wrong ? What have i missed ???