I have set up parental controls on my DD-WRT router using the instructions here. Basically it has parent's devices and children's devices set up into different address ranges and then has you set up OpenDNS as the DNS server to provide content filtering.
The only problem is that it skips the instructions for allowing parent's devices to use alternate DNS servers to avoid filtering other than having you set up default DNS servers on each individual device. Since those devices include phones, smart TVs, and things of that nature I'd prefer to set this up at the router level.
Is there a way to set up DNSMasq's additional options so that devices assigned addresses between 192.168.1.10 and 192.168.1.99 are sent to Google's DNS servers (18.104.22.168 & 22.214.171.124) while devices above that range are assigned to OpenDNS' servers?
My current Additional DNSMasq Options are
no-resolv server=126.96.36.199 server=188.8.131.52
There seems to be a way to do it via
iptables hinted at on DD-WRT's OpenDNS wiki page but I'd rather keep DNS stuff confined to the DNS server if possible. Besides, I don't trust myself to get the iptables syntax correct.
This seems like it should be fairly simple but there is enough dissent in the DNSMasq wiki page that it might be trickier than I expect. Am I going down the wrong path here?