[Dnsmasq-discuss] Implement --no-dns-interface?
Donald Muller
donmuller22 at outlook.com
Fri Apr 21 04:33:08 UTC 2023
For those Vlans set the DNS addresses to the other DNS servers.
Sent from my iPhone. Please excuse typos and autocorrection errors.
“One of the saddest lessons of history is this: If we’ve been bamboozled long enough, we tend to reject any evidence of the bamboozle. We’re no longer interested in finding out the truth. The bamboozle has captured us. It’s simply too painful to acknowledge, even to ourselves, that we’ve been taken. Once you give a charlatan power over you, you almost never get it back.” - Carl Sagan
________________________________
From: Dnsmasq-discuss <dnsmasq-discuss-bounces at lists.thekelleys.org.uk> on behalf of Tony Zhou <tonytzhou at gmail.com>
Sent: Thursday, April 20, 2023 9:18:51 PM
To: dnsmasq-discuss at lists.thekelleys.org.uk <dnsmasq-discuss at lists.thekelleys.org.uk>
Subject: [Dnsmasq-discuss] Implement --no-dns-interface?
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.
Thanks.
_______________________________________________
Dnsmasq-discuss mailing list
Dnsmasq-discuss at lists.thekelleys.org.uk
https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20230421/a0163046/attachment.htm>
More information about the Dnsmasq-discuss
mailing list