On Fri, Apr 21, 2023 at 04:33:08AM +0000, Donald Muller wrote: > From: Tony Zhou, Sent: Thursday, April 20, 2023 9:18:51 PM > > > > Hi, > > > > I am running dnsmasq 2.86 on openwrt, and have multiple vlans in my > > network. dnsmasq works great for dhcp purposes (for both dynamic and > > static leases) that I need for all interfaces/vlans. However, some of > > the vlans I do not need/want to have dnsmasq providing dns, but another > > dns server for content filtering purposes. > > > > I'd prefer to keep both dns servers on the same host/router, but the way > > dnsmasq works, either binding to interfaces, or wildcard, binds to all > > port 53, so that the 2nd dns server can't bind. > > > > It appears that when dnsmasq is set to bind to interfaces, it has to > > either offer both dns and dhcp, or skip dhcp by "--no-dhcp-interface" > > argument, but there is no counterpart "--no-dns-interface". > > > > Setting port=0 disables dns service on all interfaces, which is not what > > I wanted as well. > > > > I did found there were two discussions regarding this: > > > > https://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/2011q4/005335.html > > > > https://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/2021q3/015429.html > > > > Running two instances of dnsmasq doesn't resolve this issue, since I > > still rely on dnsmasq's dhcp. > > For those Vlans set the DNS addresses to the other DNS servers. I neither understood what original poster wants. I only did get "simular problem in the archive". Hopefully there will be additional information.
Groeten Geert Stappers -- Silence is hard to parse _______________________________________________ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss