Re: [Dnsmasq-discuss] Implement --no-dns-interface?

2023-05-02 Thread Petr Menšík
I think you can use --bind-interfaces and --listen-address 127.0.0.2 to listen only on alternate address. On 21. 04. 23 3:18, Tony Zhou wrote: 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

Re: [Dnsmasq-discuss] Implement --no-dns-interface?

2023-04-22 Thread Geert Stappers
On Sat, Apr 22, 2023 at 10:19:02AM -0400, Tony Zhou wrote: > 在 2023/4/21 上午 2:58, Uwe Schindler 写道: > > Am 21.04.2023 um 03:18 schrieb Tony Zhou: > > > Hi, > > > > > > I am running dnsmasq 2.86 on openwrt, and have multiple vlans in my > > > network. dnsmasq works great for dhcp purposes (for

Re: [Dnsmasq-discuss] Implement --no-dns-interface?

2023-04-22 Thread Tony Zhou
Thanks - that's actually what I am currently doing - using this to hijack DNS traffic on my other vlan (with nftables, though). Still, it would be ideal to have dnsmasq to allow not to listen to DNS on certain interfaces. 在 2023/4/21 上午 2:58, Uwe Schindler 写道: Hi, as a workaround you can

Re: [Dnsmasq-discuss] Implement --no-dns-interface?

2023-04-21 Thread Uwe Schindler
Hi, as a workaround you can do something like this: Let the alternative DNS server run on another port, like 1053. Then for all vlan interfaces that should use the alternative server include a PREROUTING iptables rule to redirect the post just on those interfaces to port 1053. DNS will

Re: [Dnsmasq-discuss] Implement --no-dns-interface?

2023-04-21 Thread Geert Stappers
On Fri, Apr 21, 2023 at 04:33:08AM +, 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

Re: [Dnsmasq-discuss] Implement --no-dns-interface?

2023-04-20 Thread Donald Muller
of Tony Zhou Sent: Thursday, April 20, 2023 9:18:51 PM To: dnsmasq-discuss@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

[Dnsmasq-discuss] Implement --no-dns-interface?

2023-04-20 Thread Tony Zhou
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