[Dnsmasq-discuss] Flags on cache dump

2021-08-25 Thread David Moyes
Is there any documentation, besides the code, that explains the flags on a USR1 cache dump? I couldn't find this info on the man page or website so I looked in the code and arrived at this conclusion: there are 9 fields displayed as a value or a blank in string like "tFRIDNXHV" where these mean:

[Dnsmasq-discuss] Wildcards in tags

2021-08-25 Thread Geoff Back
Good morning, TL;DR: I need to wildcard-match interface tags and can't see how. I currently have dnsmasq working on a Linux VPN server to provide DHCP options to VPN clients by using these config elements to bind only the vpn interfaces: 8<==8< interface=ppp* bind

Re: [Dnsmasq-discuss] [PATCH] [man/dnsmasq.8] dhcp-range bracket indicating option moved

2021-08-25 Thread Simon Kelley
Patch applied, thanks. Simon. On 16/08/2021 22:59, Geert Stappers via Dnsmasq-discuss wrote: > There should already be an end-address or mode when adding a netmask. > > Also the date bumped. > > Signed-off-by: Geert Stappers > --- > man/dnsmasq.8 | 4 ++-- > 1 file changed, 2 insertions(+

Re: [Dnsmasq-discuss] [PATCH] [BUGFIX] server parsing issue with empty domains

2021-08-25 Thread Simon Kelley
Patch applied, thanks. Cheers, Simon. On 20/08/2021 12:27, Dominik wrote: > Dear Simon, > > server=//1.2.3.4 can be used to specify a server to be used for > unqualified names. However, if we want to combine this feature with > other domains, the server config option is parsed incorrectly. >

Re: [Dnsmasq-discuss] dnsmasq v2.86?

2021-08-25 Thread Simon Kelley
On 19/08/2021 10:01, Andre Heider wrote: > On 12/08/2021 13:34, Simon Kelley wrote: >> On 12/08/2021 12:23, Andre Heider wrote: >>> It works with dnssec enabled but 'ednspacket_max 1280' removed... >>> >> This may be getting closer to the original problem. What do the query >> logs look like when t

[Dnsmasq-discuss] 2.86rc1

2021-08-25 Thread Simon Kelley
I just pushed a few final changes, tagged as dnsmasq-2.86rc1. I'm fairly confident that this can be released as 2.86 in the near future, but if you can, please test it now, to avoid disappointment later. https://thekelleys.org.uk/dnsmasq/release-candidates/dnsmasq-2.86rc1.tar.gz Cheers, Simon.

Re: [Dnsmasq-discuss] Flags on cache dump

2021-08-25 Thread Simon Kelley
On 25/08/2021 10:02, David Moyes wrote: > Is there any documentation, besides the code, that explains the flags on > a USR1 cache dump? > > I couldn't find this info on the man page or website so I looked in the > code and arrived at this conclusion: there are 9 fields displayed as a > value or a

Re: [Dnsmasq-discuss] Wildcards in tags

2021-08-25 Thread Simon Kelley
On 25/08/2021 13:08, Geoff Back wrote: > Good morning, > > TL;DR: I need to wildcard-match interface tags and can't see how. > > I currently have dnsmasq working on a Linux VPN server to provide DHCP > options to VPN clients by using these config elements to bind only the > vpn interfaces: > > =

Re: [Dnsmasq-discuss] bind-interfaces does not apply on dhcp relay agent

2021-08-25 Thread Tom Yan
Hi, On Wed, 25 Aug 2021 at 22:11, Simon Kelley wrote: > > On 24/08/2021 08:05, Tom Yan wrote: > > Hi, > > > > I'm trying to have both a dhcp server and a dhcp relay agent running > > on the same host, which should bind to a different interface > > respectively. While `bind-interfaces` appears to

Re: [Dnsmasq-discuss] bind-interfaces does not apply on dhcp relay agent

2021-08-25 Thread Simon Kelley
On 24/08/2021 08:05, Tom Yan wrote: > Hi, > > I'm trying to have both a dhcp server and a dhcp relay agent running > on the same host, which should bind to a different interface > respectively. While `bind-interfaces` appears to work for the dhcp > server, it seems to be ignored for the dhcp relay

[Dnsmasq-discuss] Packet gets lost in multiinterface device

2021-08-25 Thread jahangir Zaib
Hi simon, I am using dnsmasq as DHCP-Server for my Wlan-Device. I face problems, if I open various interfaces like guests or virtual on my device. The packet destined for a particular interface, sent by linux through other interface. By using SO_BINDTODEVICE I am able to manualy bind the inter

Re: [Dnsmasq-discuss] bind-interfaces does not apply on dhcp relay agent

2021-08-25 Thread john doe
On 8/25/2021 4:45 PM, Tom Yan wrote: > P.S. Btw it's sad that there's not something like `no-dns-interface`... From a POV of completeness, or would it actually be useful? Well it could be a bit problematic / annoying when one wants to use dnsmasq for dhcp only, but I guess in most cases

Re: [Dnsmasq-discuss] Wildcards in tags

2021-08-25 Thread Geoff Back
On 25/08/2021 21:09, Geoff Back wrote: > On 25/08/2021 15:33, Simon Kelley wrote: >> On 25/08/2021 13:08, Geoff Back wrote: >>> Good morning, >>> >>> TL;DR: I need to wildcard-match interface tags and can't see how. >>> >>> I currently have dnsmasq working on a Linux VPN server to provide DHCP >>

Re: [Dnsmasq-discuss] Wildcards in tags

2021-08-25 Thread Geoff Back
On 25/08/2021 15:33, Simon Kelley wrote: > On 25/08/2021 13:08, Geoff Back wrote: >> Good morning, >> >> TL;DR: I need to wildcard-match interface tags and can't see how. >> >> I currently have dnsmasq working on a Linux VPN server to provide DHCP >> options to VPN clients by using these config el

Re: [Dnsmasq-discuss] bind-interfaces does not apply on dhcp relay agent

2021-08-25 Thread Tom Yan
Ahh thanks! That's really useful. On Thu, 26 Aug 2021 at 00:15, john doe wrote: > > On 8/25/2021 4:45 PM, Tom Yan wrote: > >> > >> > > >>> P.S. Btw it's sad that there's not something like `no-dns-interface`... > >> > >> > >> From a POV of completeness, or would it actually be useful? > > > >