Goal: configure OpenWRT's dnsmasq assign a set of DNS entries (188.8.131.52 and 184.108.40.206 say) to only a specific device?
Background: I am running pihole and I have OpenWRT configured to serve the pihole IP address as the primary DNS for all clients via LuCi: Network>Interface>Guestzone>DHCP Server>Advanced Settings>DHCP-Options = 6,172.17.1.250
For a specific device, I have a need to have OpenWRT circumvent the pihole DNS and use say, google's free ones of 220.127.116.11/18.104.22.168.
dnsmasq can do it - see http://www.thekelleys.org.uk/dnsmasq/docs/dnsmasq-man.html
The "tag" feature can control per-host/per-group items.
I haven't yet worked out how to duplicate the behaviour in UCI, though. Over to you.
Thanks for the tip. I am not afraid to try it via ssh... I do not see a
/etc/dnsmasq.d/ however, and this link suggests it to add a nopi.conf to that dir containing the following:
I tried appending those two lines to the end of
/etc/dnsmasq.conf but that broke dnsmasq.
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.