Re: [Dnsmasq-discuss] dnsmasq not overriding leases for static assigments

2021-05-17 Thread Geert Stappers via Dnsmasq-discuss
onfiguration makes sense. The only point is why dnsmasq is not > > > abandoning the previous lease if the man page says it would do it. > > > > IIRC was on the mailinglist in the last six months a "works for me" report > > about switching from ethe

Re: [Dnsmasq-discuss] dnsmasq not overriding leases for static assigments

2021-05-18 Thread Geert Stappers via Dnsmasq-discuss
ts a device name. Either factory default like "Android-d0-4d-e3" or end user tuned like "Bobs Collar". > Thanks! Make another visit the mailinglist archive. Find back again the two MAC address posting (and share this time the link with us) IIRC is it a simular situation (

Re: [Dnsmasq-discuss] dnsmasq not overriding leases for static assigments, by design

2021-05-15 Thread Geert Stappers via Dnsmasq-discuss
t; both cases. > > Am I doing something wrong? Any idea how to fix this? Changing the Access Point configuration??? Changing the Access Points??? > Thanks in advance. Please keep us, this mailinglist (archive), posted. Groeten Geert Stappers -- Silence is hard to parse _

Re: [Dnsmasq-discuss] dnsmasq not overriding leases for static assigments

2021-05-16 Thread Geert Stappers via Dnsmasq-discuss
think some pieces of the puzzle are missing. > And this is my only point. I am not arguing if tp-link one-mesh > access-points are doing well by changing the client mac-address, nor if I > am being smart or stupid using wildcards to identify dhcp-clients, nor if >

Re: [Dnsmasq-discuss] dnsmasq not overriding leases for static assigments

2021-05-16 Thread Geert Stappers via Dnsmasq-discuss
ected to that AP. I don't understand that . I think it tries to explain "available IPv4 address in best fit dhcp-range". >6. dnsmasq, despite having identified the client, And how did that identification happen??? >

Re: [Dnsmasq-discuss] Is there a way to run dnsmasq in safe mode (no-fail)?

2021-05-23 Thread Geert Stappers via Dnsmasq-discuss
an option to ignore > errors. Hi bellocarico, Does `dnsmasq --test` reveal the configuration error you encountered? Groeten Geert Stappers @Edward: Thanks for replying below previous text. -- Silence is hard to parse ___ Dnsmasq-discuss mailing

Re: [Dnsmasq-discuss] Is there a way to run dnsmasq in safe mode (no-fail)?

2021-05-23 Thread Geert Stappers via Dnsmasq-discuss
EAD#l13 * https://thekelleys.org.uk/gitweb/?p=dnsmasq.git;a=blob;f=contrib/systemd/dnsmasq.service;h=ff0ed089b2062258fbeccc48d5b7becc05670557;hb=HEAD#l10 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

[Dnsmasq-discuss] [PATCH 1/2] Add option to filter out A record requests

2021-06-05 Thread Geert Stappers via Dnsmasq-discuss
From: treysis Intented for IPv6 only installations that have to deal with software that prefers IPv4 above IPv6. --- src/dnsmasq.h | 3 ++- src/option.c | 3 +++ src/rfc1035.c | 11 +++ 3 files changed, 16 insertions(+), 1 deletion(-) diff --git a/src/dnsmasq.h b/src/dnsmasq.h index

Re: [Dnsmasq-discuss] Patch with option to filter A records

2021-06-05 Thread Geert Stappers via Dnsmasq-discuss
reworked version here soon. Hopefully is Author left intact. (I'm about to `git send-email` a patch that is not mine ). And the original patch lacks update of the manual page, it is where I chip in. Cheers Geert Stappers P.S. https://git-send-email.io/ for instructions on email patches. See "Linux kernel

Re: [Dnsmasq-discuss] Patch with option to filter A records

2021-06-05 Thread Geert Stappers via Dnsmasq-discuss
On Sat, Jun 05, 2021 at 05:37:25PM +0200, Geert Stappers wrote: > On Sat, Jun 05, 2021 at 03:34:59PM +0200, Trey Sis wrote: > > > > Cheers, > > Treysis > > > > Patch: > > > > >From bd22a36f76e35a0dc6c8be8996056318fec96e5e Mon Sep 17 00:00:00 2001

[Dnsmasq-discuss] [PATCH 2/2] Added '--filter-a' option to man page

2021-06-05 Thread Geert Stappers via Dnsmasq-discuss
The manual page is now aware of option filter out A records. --- man/dnsmasq.8 | 4 1 file changed, 4 insertions(+) diff --git a/man/dnsmasq.8 b/man/dnsmasq.8 index 59b6709..1ff48e9 100644 --- a/man/dnsmasq.8 +++ b/man/dnsmasq.8 @@ -347,6 +347,10 @@ the public DNS and can cause problems by

Re: [Dnsmasq-discuss] file not found messages from tftp

2021-07-07 Thread Geert Stappers via Dnsmasq-discuss
t;, > mess->message); > >return ret; > } It feels wrong to **hide** valid TFTP requests under DEBUG logging. 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

Re: [Dnsmasq-discuss] dnsmasq dhcp relay not relaying response from upstream to client

2021-06-25 Thread Geert Stappers via Dnsmasq-discuss
> my freeradus dhcp server configuration: > > server dhcp { > listen { > type = dhcp > ipaddr = 10.10.254.1 > src_ipaddr = 10.10.254.1 > port = 67 > broadcast = no >performance { >skip_duplicate_ch

Re: [Dnsmasq-discuss] host in subnet LAN cannot resolve name in outer LAN

2021-06-25 Thread Geert Stappers via Dnsmasq-discuss
ocal/127.0.0.53 > > Because systemd-resolved talks DNS even to names on different protocol, > it might be able to resolve. I would consider it a wrong hack. Instead, > try to offer some domain fr

Re: [Dnsmasq-discuss] what is 'next-server' ? is it dhcp-option 66?

2021-06-26 Thread Geert Stappers via Dnsmasq-discuss
cribed by option:66 Come again, because I do see > dnsmasq-dhcp: 3891074361 next server: 10.10.253.1 > dnsmasq-dhcp: 3891074361 sent size: 12 option: 66 tftp-server 10.10.254.1 > Is 'next-server' different from dhcp-option-66? Yes, they are two different "fields&

Re: [Dnsmasq-discuss] dnsmasq dhcp relay not relaying response from upstream to client

2021-06-26 Thread Geert Stappers via Dnsmasq-discuss
gt; freeradius's nonsense packets. At https://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/2021q2/015184.html is the message that reports "success" with isc-dhcp-relay. Currently there is no information if the swap of "dhcp relay" was the only change. T

Re: [Dnsmasq-discuss] what is 'next-server' ? is it dhcp-option 66?

2021-06-26 Thread Geert Stappers via Dnsmasq-discuss
On Sat, Jun 26, 2021 at 02:58:16PM +0700, Bino Oetomo wrote: > On Sat, Jun 26, 2021 at 1:24 PM Geert Stappers wrote: > > On Sat, Jun 26, 2021 at 09:55:01AM +0700, Bino Oetomo wrote: > > > Dear All. > > > > > Is 'next-server' different from dhcp-option-66? &g

Re: [Dnsmasq-discuss] dnsmasq dhcp relay not relaying response from upstream to client

2021-06-26 Thread Geert Stappers via Dnsmasq-discuss
On Sat, Jun 26, 2021 at 11:52:10AM +0700, Bino Oetomo wrote: > On Sat, Jun 26, 2021 at 4:12 AM Geert Stappers wrote: > > On Fri, Jun 25, 2021 at 11:30:18AM +0700, Bino Oetomo wrote: > > > but how to know if dnsmasq is receiving that response? > > > > ...

Re: [Dnsmasq-discuss] client q: both static and dhcp

2021-06-27 Thread Geert Stappers via Dnsmasq-discuss
o "Voctomix PC" > The script uses a hostname, the hostname is set in /etc/hosts > > If there is a network with dhcp, then it will be nice to get the gateway > and be able to ssh into machines. I recommend to add an OpenWRT device or another portable DHCP server + DNServ

Re: [Dnsmasq-discuss] what is 'next-server' ? is it dhcp-option 66?

2021-06-27 Thread Geert Stappers via Dnsmasq-discuss
On Sun, Jun 27, 2021 at 03:06:14PM +0700, Bino Oetomo wrote: > On Sun, Jun 27, 2021 at 12:03 AM Geert Stappers wrote: > > On Sat, Jun 26, 2021 at 02:58:16PM +0700, Bino Oetomo wrote: > > > On Sat, Jun 26, 2021 at 1:24 PM Geert Stappers wrote: > > > > On Sat, Jun 26,

Re: [Dnsmasq-discuss] client q: both static and dhcp

2021-06-27 Thread Geert Stappers via Dnsmasq-discuss
work with others, I can find common ground" Back to "computer network level". Have access to the host network configuration at all time. Yes, that has a price. 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

Re: [Dnsmasq-discuss] client q: both static and dhcp

2021-06-27 Thread Geert Stappers via Dnsmasq-discuss
P server not a client, > so I’m unsure what the role of dnsmasq would be here. Dnsmasq has a mailinglist. Behind a mailinglist are people. People have knowledge and experience. People do tend to exchange knowledge and experience. Possible exchange place is a mailinglist. > Most of

Re: [Dnsmasq-discuss] Patch with option to filter A records

2021-07-09 Thread Geert Stappers via Dnsmasq-discuss
On Fri, Jul 09, 2021 at 02:35:29PM +0200, Petr Menšík wrote: > On 6/16/21 1:26 PM, Trey Sis wrote: > > On 6/14/2021 1:43, Trey Sis wrote: > >> On 6/13/2021 22:01, Geert Stappers wrote: > >>> warning: 1 line adds whitespace errors. > >> > >

Re: [Dnsmasq-discuss] Simplest working "shared-network" configuration?

2021-07-10 Thread Geert Stappers via Dnsmasq-discuss
e something like } } } dhcp-range=203.0.113.0, 203.0.113.7,255.255.255.248, 1d Back to > > From (1): > > > > " this dhcp-range MUST include the netmask." > > > > Unless I'm missing something, I don't see a subnet mask being specified. > > > &g

Re: [Dnsmasq-discuss] file not found messages from tftp

2021-07-08 Thread Geert Stappers via Dnsmasq-discuss
essage); + if ((option_bool(OPT_QUIET_TFTP) && err != ERR_FNF) || !option_bool(OPT_QUIET_TFTP)) +my_syslog(MS_TFTP | LOG_ERR, "%s", mess->message); return ret; } Which text should go in the manual page? 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

Re: [Dnsmasq-discuss] dnsmasq dhcp relay not relaying response from upstream to client

2021-06-28 Thread Geert Stappers via Dnsmasq-discuss
rver configuration file with us. In the mailinglist archive ( https://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/2021q2/015180.html) is currently only the incomplete (and "broken") configuration. It is a good thing to give the mailing archive a working version. The complete version shows where to insert the extra settings and which syntax. > So Nicolas Cavallari, I really appreciate your help. Yes, compliments to Nicolas for diagnosing the problem. > Sincerely > -bino- Please make reading in the discussion order possible, reply below previous text. 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

Re: [Dnsmasq-discuss] unittests

2021-04-30 Thread Geert Stappers via Dnsmasq-discuss
that (from a distance) in other projects. So yes, refactoring makes sense. 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

Re: [Dnsmasq-discuss] DHCPv6 only

2021-04-21 Thread Geert Stappers via Dnsmasq-discuss
MAC-addresses. And than have a MAC address configured that none of the clients has. No, I never have travelled that path. I do like to known if it lead to the wanted goal. Groeten Geert Stappers -- Silence is hard to parse ___ Dnsmasq-discuss mailing li

Re: [Dnsmasq-discuss] CNAME filtering

2021-03-22 Thread Geert Stappers via Dnsmasq-discuss
On Mon, Mar 22, 2021 at 06:07:27PM +, dnsmasqlist2...@rscubed.com wrote: > On Mon, 22 Mar 2021, Geert Stappers via Dnsmasq-discuss wrote: > > On Mon, Mar 22, 2021 at 03:19:00AM +, dnsmasqlist2...@rscubed.com wrote: > > > > > > I am trying to do some CNAME filt

Re: [Dnsmasq-discuss] Cannot forward TCP query after v2.85rc1 (branch master)

2021-03-22 Thread Geert Stappers via Dnsmasq-discuss
server_send(last_server, last_server->tcpfd, packet, size + sizeof(u16), MSG_FASTOPEN); if (errno == 0) data_sent = 1; > Go on and fix, thanks! You are missing the opportunity for contributing a patch to

Re: [Dnsmasq-discuss] Doing a split zone config

2021-03-29 Thread Geert Stappers via Dnsmasq-discuss
e in the dnsmasq configuration. > thanks I'm looking forward to the feedback. > *Roland * 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

[Dnsmasq-discuss] [PATCH] Chomp file ends

2021-04-05 Thread Geert Stappers via Dnsmasq-discuss
From: Geert Stappers Removed empty lines from end of src/*.[ch] files. If the new last line became '#endif' was the condition of the '#if' added. --- src/arp.c| 2 -- src/auth.c | 3 --- src/blockdata.c | 1 - src/bpf.c| 2 -- src/cache.c | 2

Re: [Dnsmasq-discuss] [PATCH] Support Cisco Umbrella/OpenDNS Device ID & Remote IP

2021-04-07 Thread Geert Stappers via Dnsmasq-discuss
On Tue, Apr 06, 2021 at 08:45:17PM -0600, Brian Hartvigsen wrote: > This is based on the information at > https://docs.umbrella.com/umbrella-api/docs/identifying-dns-traffic and > https://docs.umbrella.com/umbrella-api/docs/identifying-dns-traffic2 . Using > --umbrella by itself will enable

Re: [Dnsmasq-discuss] Log DNS Queries/Responses based on IP Address

2021-04-05 Thread Geert Stappers via Dnsmasq-discuss
ther word I just want to log DNS queries and responses > > from/to a particular IP address. Is this possible? > > Yes Adding such **condiontal** logging to dnsmasq should be avoided. Run dnsmasq with --log-queries=extra and filter from the output the wanted information. Groeten G

Re: [Dnsmasq-discuss] First question(s)

2021-03-12 Thread Geert Stappers via Dnsmasq-discuss
168.17.0/24 Put the "static hosts" in one half and assign the other half to the DHCP range. > Seems simple but cannot figure how to set that up so would appreciate > any pointers as to how I can do that. Groeten Geert Stappers -- Silence is hard to parse __

Re: [Dnsmasq-discuss] First question(s)

2021-03-12 Thread Geert Stappers via Dnsmasq-discuss
ate > > any pointers as to how I can do that. > > > > > > Just specify the MAC address and the hostname and no IP address and it > will do exactly what you want. > > dhcp-host=11:22:33:44:55:66,myhost > Yes, if the DHCP client does sent its hostname. Gr

Re: [Dnsmasq-discuss] dhcp-range for DNS entries: how to gain A and AAAA for same host?

2021-03-15 Thread Geert Stappers via Dnsmasq-discuss
On Mon, Mar 15, 2021 at 08:35:44PM +0100, Steffen Nurpmeso: > Geert Stappers wrote: > > On Sun, Mar 14, 2021 at 01:39:18AM +0100, Steffen Nurpmeso > > > For being more automatic and flexible with (many) VMs i changed > > > from a static addn-hosts= to a dhcp

Re: [Dnsmasq-discuss] dhcp-range for DNS entries: how to gain A and AAAA for same host?

2021-03-14 Thread Geert Stappers via Dnsmasq-discuss
this a misconfiguration, or is there another way to support > IPv4 + IPv6 DHCP, but especially DNS service for both address > types for the same machine? a misconfiguration could be at client side. DHCP client not telling it's hostname to the DHCP server during the request. > Thanks. Ple

Re: [Dnsmasq-discuss] yaml config file

2021-03-14 Thread Geert Stappers via Dnsmasq-discuss
ybooks_templating.html in other words: The "converter" already exists. > In fact, that's where my idea came from. Please keep sharing ideas. Groeten Geert Stappers -- Silence is hard to parse ___ Dnsmasq-discuss mailing list Dnsmasq-dis

Re: [Dnsmasq-discuss] First question(s)

2021-03-16 Thread Geert Stappers via Dnsmasq-discuss
On Mon, Mar 15, 2021 at 09:10:42AM +0100, Petr Menšík wrote: > On 3/13/21 6:38 AM, Geert Stappers via Dnsmasq-discuss wrote: > > On Fri, Mar 12, 2021 at 09:10:03PM +, Simon Kelley wrote: > >> On 12/03/2021 15:47, Ken Gillett wrote: > >> > >> Just spec

Re: [Dnsmasq-discuss] DKIM / DMARC emails.

2021-03-18 Thread Geert Stappers via Dnsmasq-discuss
On Sun, Feb 21, 2021 at 10:40:37PM +0100, Geert Stappers via Dnsmasq-discuss wrote: > On Sun, Feb 21, 2021 at 08:39:28PM +, Simon Kelley wrote: > > On 19/02/2021 12:35, Matus UHLAR - fantomas wrote: > > > On 18.02.21 22:50, Simon Kelley wrote: > > >> That wiki

Re: [Dnsmasq-discuss] No RA when router sollicitation sended

2021-03-18 Thread Geert Stappers via Dnsmasq-discuss
000: 5254 00e5 338a > > I also tried with constructor in dnsmasq.conf like > > dhcp-range=::1,:::, constructor=lan*,ra-names,64,2m > > but no changes. > > Any clue ? At least share with us if --enable-ra is inplace. Groeten Geert Stappers -- Silence is hard

Re: [Dnsmasq-discuss] DKIM / DMARC emails.

2021-03-18 Thread Geert Stappers via Dnsmasq-discuss
On Thu, Mar 18, 2021 at 08:01:00AM -0400, Dominick C. Pastore wrote: > On Thu, Mar 18, 2021, at 4:52 AM, Geert Stappers via Dnsmasq-discuss wrote: > > On Sun, Feb 21, 2021 at 10:40:37PM +0100, Geert Stappers via > > Dnsmasq-discuss wrote: > > > On Sun, Feb 21, 2021 at

Re: [Dnsmasq-discuss] DNS TXT records reload with SIGHUP

2021-03-09 Thread Geert Stappers via Dnsmasq-discuss
> Is there any trick on how to do this? Any help would be appreciated. Sending a "Yeah, works for me" is indeed helpfull. Groeten Geert Stappers -- Silence is hard to parse ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekel

Re: [Dnsmasq-discuss] CNAME filtering

2021-03-22 Thread Geert Stappers via Dnsmasq-discuss
-h, --no-hosts Don't read the hostnames in /etc/hosts. is maybe active. And the > cname=*.dnsdelegation.io,blackhole.inv > cname=dnsdelegation.io,blackhole.inv > local=/.dnsdelegation.io/ looks odd. Expiriment with removing the `local=` line. Karma points for rep

Re: [Dnsmasq-discuss] pxe-service entries in dnsmasq conf seem to fail non-proxy EFI boot

2021-03-19 Thread Geert Stappers via Dnsmasq-discuss
86PC,"ltsp.ipxe",ltsp/ltsp.ipxe | #pxe-service=tag:proxy,tag:iPXE,X86-64_EFI,"ltsp.ipxe",ltsp/ltsp.ipxe | #pxe-service=tag:rpi,X86PC,"Raspberry Pi Boot ",unused into something like[2]: | tag:!iPXE,X86PC,ltsp/undionly.kpxe | tag:!iPXE,X86-64_EFI,ltsp/snponly.efi | tag:iP

Re: [Dnsmasq-discuss] dnsmasq to return NODATA for an A query

2021-03-17 Thread Geert Stappers via Dnsmasq-discuss
On Wed, Mar 17, 2021 at 05:12:35PM +, Simon Kelley wrote: > On 14/03/2021 14:35, Aaron Jones wrote: > > On 07/03/2021 08:57, Geert Stappers via Dnsmasq-discuss wrote: > >> --host-record=foo.example.org,NODATA,fd00::1 > >> > >> Says what is wanted. > >

Re: [Dnsmasq-discuss] How to add AAAA record for host with dynamic prefix?

2021-03-01 Thread Geert Stappers via Dnsmasq-discuss
; definitely be a unique feature of dnsmasq. > > Comments, list members? Firewall rules should be on network blocks. IPv4 /32 blocks are valid network blocks, rendering then to hosts is understandable. But it defeats "firewall rules should be on network blocks". DNS is unaware of net

Re: [Dnsmasq-discuss] dnsmasq's behaviour with configured static hosts is unintuitive

2021-03-06 Thread Geert Stappers via Dnsmasq-discuss
host-record=foo.example.org,,fd00::1 > > ... and this option returns the address exactly as given: > > --host-record=foo.example.org,0.0.0.0,fd00::1 > > Any pointers? Share the challenge you are facing with us. Groeten Geert Stappers -- Silence is hard to

Re: [Dnsmasq-discuss] Monthly posting, man page

2021-03-06 Thread Geert Stappers via Dnsmasq-discuss
n, source, and manpage. And `manpage` is a link to https://dnsmasq.org/docs/dnsmasq-man.html Thanks for the feedback. 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

[Dnsmasq-discuss] dnsmasq to return NODATA for an A query

2021-03-07 Thread Geert Stappers via Dnsmasq-discuss
On Sat, Mar 06, 2021 at 11:12:31PM +, Aaron Jones wrote: > On 06/03/2021 19:22, Geert Stappers via Dnsmasq-discuss wrote: > > On Thu, Mar 04, 2021 at 06:50:39AM +, Aaron Jones wrote, > > with Subject: dnsmasq's behaviour with configured static hosts is > > uni

[Dnsmasq-discuss] scutil Was: dnsmasq's behaviour with configured static hosts is unintuitive

2021-03-07 Thread Geert Stappers via Dnsmasq-discuss
On Sun, Mar 07, 2021 at 09:35:30AM +0100, Cyberfusion wrote: > Op 7 mrt. 2021 om 00:33 heeft Aaron Jones het volgende geschreven: > > 06/03/2021 19:22, Geert Stappers via Dnsmasq-discuss wrote: > > > Share the challenge you are facing with us. > > > > Put simply, I

Re: [Dnsmasq-discuss] Eviction statistics is always zero

2021-04-09 Thread Geert Stappers via Dnsmasq-discuss
> > > > > > I'm using a sample of queries from my services, but I'm introducing an > artificial qps with flame using this sample. > FWIW "this sample" did not reach my end of the Internet. Please recieve > > What are y

[Dnsmasq-discuss] [PATCH] Was: PATCH Add DHCP6REPLY for DHCP6REBIND

2021-04-09 Thread Geert Stappers via Dnsmasq-discuss
ize limit. Hence "Copy and paste in bash" sed --in-place -e 's/^[ \t]*$//' src/*.c src/*.h git diff | wc # shows large line count git diff -w# shows that it is only white space git add src/*.c src/*.h git commit -m "sed --in-place -e 's/^[ \t]*$//' src/*.c src/*.h Makes empty

Re: [Dnsmasq-discuss] [PATCH] sed --in-place -e 's/^[ \t]*$//' src/*.c src/*.h

2021-04-18 Thread Geert Stappers via Dnsmasq-discuss
On Sat, Apr 10, 2021 at 12:13:17AM +0200, Geert Stappers via Dnsmasq-discuss wrote: Subject: Re: [Dnsmasq-discuss] [PATCH] Was: PATCH Add DHCP6REPLY for DHCP6REBIND > In-Reply-To: <20210408091641.30245-1-liaic...@huawei.com> > On Thu, Apr 08, 2021 at 05:16:41PM +0800, Aichun Li wro

Re: [Dnsmasq-discuss] DKIM / DMARC emails.

2021-02-21 Thread Geert Stappers via Dnsmasq-discuss
On Sun, Feb 21, 2021 at 08:39:28PM +, Simon Kelley wrote: > On 19/02/2021 12:35, Matus UHLAR - fantomas wrote: > > On 18.02.21 22:50, Simon Kelley wrote: > >> That wiki page is just word-soup as far as I am concerned.  Does setting > >> dmarc_moderation_action to "munge from" fix Etan's

Re: [Dnsmasq-discuss] feature: dictionary order import of addn-hosts dirs?

2021-08-22 Thread Geert Stappers via Dnsmasq-discuss
as 2.76. Back to > dnsmasq: bad option at line 11 of /etc/dnsmasq.d/dnsmasq.conf > bad option at line 11 of /etc/dnsmasq.d/dnsmasq.conf" > Line 11: 'hostsfile=' My first thought would be "file versus directory". But man page from git says: --dhcp-hostsfile=

Re: [Dnsmasq-discuss] local domain (dyndns) not resolved

2021-08-22 Thread Geert Stappers via Dnsmasq-discuss
n-address=127.0.0.1 > > # my boxes > dhcp-host=3c:15:c2:d4:45:72,loki,192.168.1.104,12h And that configuration is for which dnsmasq server? Consider that a question from someone who would like to better understand the setup. 192.168.1.2 and the "outside" 172.31.0.2 feels odd to me. > Can someone assist me please on what I am missing? > > Thank you for your help, > > -- Bernd > 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

Re: [Dnsmasq-discuss] Help required with Zone authority & transfers due Docker

2021-08-22 Thread Geert Stappers via Dnsmasq-discuss
to mind. Consider that as an odd way to express that adding technology is no garantee for instant improvement. ;-) > Any guidance would be gratefully appreciated. It doesn't work that way. Understand that the biggest change in the "upgrade" was adding Docker to the equation. So tell more th

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

2021-08-16 Thread Geert Stappers via Dnsmasq-discuss
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(+), 2 deletions(-) diff --git a/man/dnsmasq.8 b/man/dnsmasq.8 index 4ad125b..2660abd 100644 --- a/man/dnsmasq.8

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

2021-08-16 Thread Geert Stappers via Dnsmasq-discuss
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(+), 2 deletions(-) diff --git a/man/dnsmasq.8 b/man/dnsmasq.8 index 4ad125b..680aaab 100644 --- a/man/dnsmasq.8

Re: [Dnsmasq-discuss] What's the "right" way to specify upstream servers?

2021-09-05 Thread Geert Stappers via Dnsmasq-discuss
those routers usually get their IP address, default route and DNS servers from > DHCP upstream servers. > > In this case, all those parameters were hardly overwritten (apparently by > instalator), which is strange, but the OS _MAY_ contain scripts that use > information from DHC

Re: [Dnsmasq-discuss] What's this error in syslog mean?

2021-09-05 Thread Geert Stappers via Dnsmasq-discuss
bash script so is unlikely to have dependencies etc.) Please be a better community member. Tell more about your side of the story. Share here the two versions of /etc/init.d/dnsmasq One version is "the Raspberry Pi version", the other "xubuntu". Doing so makes it possible

Re: [Dnsmasq-discuss] DHCPv6 - network booting 'address in use'

2021-09-14 Thread Geert Stappers via Dnsmasq-discuss
On Tue, Sep 14, 2021 at 04:58:10PM +0200, Harald Jensas wrote: > Hi, > > We are seeing an issue whit network booting over DHCPv6 is failing. > The UEFI firmware is starting two DHCPv6 transactions, with separate IAID's. > Initially one transactions succeeds, while the other transaction fails >

Re: [Dnsmasq-discuss] DHCPv6 - network booting 'address in use'

2021-09-15 Thread Geert Stappers via Dnsmasq-discuss
On Wed, Sep 15, 2021 at 08:23:47AM +0200, Harald Jensas wrote: > On 9/14/21 21:12, Geert Stappers via Dnsmasq-discuss wrote: > > On Tue, Sep 14, 2021 at 04:58:10PM +0200, Harald Jensas wrote: > > > Hi, > > > > > > We are seeing an issue whit network booting ov

Re: [Dnsmasq-discuss] What's this error in syslog mean?

2021-09-06 Thread Geert Stappers via Dnsmasq-discuss
if the variables contain whitespaces. > similar with other variables across the scripts. Yep. Here in mono-spaced font that clearly visible. > You may look at your config file to find the culprit or run init script in > verbose mode, if you dare: > > > sh -x /etc/init.d/dnsmasq

Re: [Dnsmasq-discuss] What's this error in syslog mean?

2021-09-04 Thread Geert Stappers via Dnsmasq-discuss
thing else I can do to get more diagnostics? Do see already that dnsmasq is started (with some PID) And there is another dnsmasq, probably a dnsmasq script, with another PID. Answering "And how is dnsmasq started? What is in configuration file?" might reveal what is the oth

Re: [Dnsmasq-discuss] srv-host and domain

2021-09-14 Thread Geert Stappers via Dnsmasq-discuss
; > the ending dot on the service (just like the manual also has) and that's > > > exactly the same. > > > > > > > Try querying xmpp-client._tcp.mydomain.home > > > > No result. Please elaborate Provide the output the dig command that is used and what dnsmasq

Re: [Dnsmasq-discuss] srv-host and domain

2021-09-15 Thread Geert Stappers via Dnsmasq-discuss
On Wed, Sep 15, 2021 at 02:29:57AM +0300, Otto Modinos wrote: > On Tue, Sep 14, 2021 at 09:50:54PM +0200, Geert Stappers via Dnsmasq-discuss > wrote: > > On Tue, Sep 14, 2021 at 07:51:02PM +0300, Otto Modinos wrote: > > > On Tue, Sep 14, 2021 at 02:02:59PM +

Re: [Dnsmasq-discuss] Query on Force-Renew support on dnsmasq

2021-07-14 Thread Geert Stappers via Dnsmasq-discuss
Summary: insult accepted, try again On Wed, Jul 14, 2021 at 09:59:42PM +0530, Gocool.. wrote: > On Wed, Jul 14, 2021 at 3:34 PM Geert Stappers wrote: > > On Wed, Jul 14, 2021 at 10:47:35AM +0530, Gocool.. wrote: > > > Hi Team, > > > > > > I am using the dnsmasq

Re: [Dnsmasq-discuss] Force-Renew support on dnsmasq

2021-07-14 Thread Geert Stappers via Dnsmasq-discuss
ducing a unicast FORCERENEW message which forces the client to the RENEW state. The behaviour for hosts using the DHCP INFORM message to obtain configuration information is also described. ) I understand why it isn't yet implemented. I don't understand why there was no "patches welcome&

Re: [Dnsmasq-discuss] Weird TFTP Failure

2021-07-15 Thread Geert Stappers via Dnsmasq-discuss
e.org/ BootROM downloads (over TFTP) and starts iPXE executable. iPXE downloads over HTTP or HTTPS kernel & initrd and starts them. > I believe in the pxelinux.cfg file > ( or similar ) you typically set ramdisk_size= and that needs to have > enough room to hold the initrd.   You

Re: [Dnsmasq-discuss] spin-off: dictionary order import of addn-hosts dirs?

2021-08-12 Thread Geert Stappers via Dnsmasq-discuss
elete stuff? SIGHUP is actual "flush all and reread all" Between flush all and all reread, there can be DNS queries which then can't be answered as when all have been rereaded. > John Doe Groeten Geert Stappers -- Silence is hard to parse _

Re: [Dnsmasq-discuss] How to provide DHCP for WiFi hotspot?

2021-10-12 Thread Geert Stappers via Dnsmasq-discuss
ffice. > > If you want the clients to also be able to communicate with other > networks, e.g. the Internet, then you may wish to consider also > specifying options 3 and 6. It will original poster get started. And to start is good. > Alex Groeten Geert Stappers -- Silence is hard

Re: [Dnsmasq-discuss] filter-AAAA is breaking dnsmasq

2021-10-10 Thread Geert Stappers via Dnsmasq-discuss
AAA`. I'm yet not capable of using the new feature. You must help me. I already told that two days ago. You MUST help me NOW. Regards Entitled > Cheers, > > T Groeten Geert Stappers -- Silence is hard to parse signature.asc Description: PGP signature __

[Dnsmasq-discuss] truely filter AAAA

2021-10-11 Thread Geert Stappers via Dnsmasq-discuss
ed only for those domains and they are queried only using the specified server. ... New syntax could be --server=[/[]/[domain/]][[#]][/no-{A,}][@][@[#]] when filtered dropping gets implement. Regards Geert Stappers Another person not

Re: [Dnsmasq-discuss] dnsmasq 2.86 crash

2021-10-13 Thread Geert Stappers via Dnsmasq-discuss
; > Cheers, > > > > Simon. > > > > > Hi Simon, Hello Mailinglist, > Glad to hear it might be a known issue. > I'll test that patch and report back. Do know that patch is already in git repository. So no need reason to worry about how to apply it. I look

Re: [Dnsmasq-discuss] Simon back soon.

2021-10-20 Thread Geert Stappers via Dnsmasq-discuss
all queries and patches I should have responded to but didn't, to > feed back to me once I have some time. > > > Normal service will be resumed as soon as I can organise it. > semi-acknowledge. What should we imaginate?Days? Weeks? Months? > > Cheers, > S

Re: [Dnsmasq-discuss] Option 12 hostname sent to RPi seems incorrect

2021-10-20 Thread Geert Stappers via Dnsmasq-discuss
On Wed, Oct 20, 2021 at 10:56:02PM +0200, Geert Stappers wrote: > On Wed, Oct 20, 2021 at 02:48:27PM +0530, Shrenik Bhura wrote: > > On Wed, 20 Oct, 2021, 11:21 Geert Stappers wrote: > > > On Wed, Oct 20, 2021 at 07:50:58AM +0530, Shrenik Bhura wrote: > > > >

Re: [Dnsmasq-discuss] Option 12 hostname sent to RPi seems incorrect

2021-10-20 Thread Geert Stappers via Dnsmasq-discuss
On Wed, Oct 20, 2021 at 02:48:27PM +0530, Shrenik Bhura wrote: > On Wed, 20 Oct, 2021, 11:21 Geert Stappers wrote: > > On Wed, Oct 20, 2021 at 07:50:58AM +0530, Shrenik Bhura wrote: > > > > > > Hi Dominik, > > > > Hello Archive visitor, > > Hello Mail

Re: [Dnsmasq-discuss] Option 12 hostname sent to RPi seems incorrect

2021-10-19 Thread Geert Stappers via Dnsmasq-discuss
address as the default hostname when none is present. So beside the /sbin/tcpdump -w rpi.pcap ether host dc:a6:32:78:98:ae also /sbin/tcpdump -w worksfine.pcap ether host MAC_address_of_known_good > Best, > Shrenik Please make it possible to read in the discussion. Show the world tha

Re: [Dnsmasq-discuss] dnsmasq 2.86 crash

2021-10-14 Thread Geert Stappers via Dnsmasq-discuss
9367]: read /etc/hosts - 4 addresses > > and now DNS resolution works again! > > No idea why dnsmasq is automatically detecting one change in > /etc/resolv.conf, > and it apparently is one that does not contain any servers. > And what about the crashes? &g

Re: [Dnsmasq-discuss] filter-AAAA is breaking dnsmasq

2021-10-11 Thread Geert Stappers via Dnsmasq-discuss
running the binary you just built? That information is indeed missing. > > W T F > Why so rude? Quoting http://www.catb.org/~esr/faqs/smart-questions.html section "How To Answer Questions in a Helpful Way" Be gentle. Problem-related stress can make people seem rude or stupid

Re: [Dnsmasq-discuss] DNS from dhcp-host while client is offline, generate config files

2021-10-08 Thread Geert Stappers via Dnsmasq-discuss
Dnsmasq then uses both of these configuration files. > > Thank you for your time! Thank you for sharing the sed script that was mentioned two or three postings by you earlier. It is now in the mailinglist archive. > Alkis Groeten Geert Stappers -- Silence is hard to parse

Re: [Dnsmasq-discuss] filter-AAAA is breaking dnsmasq

2021-10-11 Thread Geert Stappers via Dnsmasq-discuss
using an email programm that adds 'In-Reply-To: ' header. 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

Re: [Dnsmasq-discuss] Bug while using address=//::

2021-09-29 Thread Geert Stappers via Dnsmasq-discuss
ng an TXT, MX or A record. It doesn't mather if the request travels over IPv6 or IPv4. And other please, an pretty please: Embrace evolution Embrace mental growth Groeten Geert Stappers P.S. To those who feel insulted by this posting Consider the suffering when being ignored

Re: [Dnsmasq-discuss] HA Cluster - IPv6 router adv lifetime of 0

2021-10-02 Thread Geert Stappers via Dnsmasq-discuss
my findings that this is currently not possible with > dnsmasq. > > If so please accept my feature request to implement that. Patches to this mailinglist do get noticed. Groeten Geert Stappers -- Silence is hard to parse ___ Dnsmasq-discuss m

[Dnsmasq-discuss] unittests

2021-10-02 Thread Geert Stappers via Dnsmasq-discuss
t; > > > > Cheers, > > > > Simon. > > > >> > >> PS: sending this message again, because patch #2 were big enough to > >> require moderator's approval. Compressed it as a workaround. > >> > >> Cheers, > >>

Re: [Dnsmasq-discuss] DNS from dhcp-host while client is offline

2021-10-03 Thread Geert Stappers via Dnsmasq-discuss
p-hosts into its DNS view > even when these clients are offline? > Otherwise I guess I could write a bash script that converts a dhcp-hosts > file into an addn-hosts file with lines like: > > 192.168.67.100 rpi Yes, that way is DHCP not involved. > Thank you, > Alkis Georgopo

Re: [Dnsmasq-discuss] IP Pools

2021-12-03 Thread Geert Stappers via Dnsmasq-discuss
r GUI available? > > > Thanks, KevinSent from my T-Mobile 4G LTE Device 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

[Dnsmasq-discuss] RaspberryPi PCAP file Was: tftp hook for "not found"

2021-12-03 Thread Geert Stappers via Dnsmasq-discuss
file 'raspiModelFoo.pcap' (ModelFoo replaced with your actual model of RaspberryPI * Save the .pcap somewhere on the Internet where it can be fetched. * Share the URL with the mailinglist. Karma bonus points for an URL that can be used with `wget`. Groeten Geert Stappers -- Silence is hard

Re: [Dnsmasq-discuss] Environment variable DNSMASQ_CLIENT_ID

2021-12-05 Thread Geert Stappers via Dnsmasq-discuss
On Sun, Dec 05, 2021 at 09:21:17AM +0100, Community Member wrote: > Follow up from "RaspberryPi PCAP file" thread. > > On Sat, Dec 4, 2021 at 1:42 PM Geert Stappers wrote: > > On Sat, Dec 04, 2021 at 12:11:13PM -0800, Carl Karsten wrote: > > > On Sat, Dec 4, 202

Re: [Dnsmasq-discuss] UEFI HTTP boot on IPv6

2021-12-20 Thread Geert Stappers via Dnsmasq-discuss
EClient,1,0.0.0.0 sends the encapsulated vendor class-specific option "mftp-address=0.0.0.0" to any client whose vendor-class matches "PXEClient". I think the " (IPv4 only) " implies DHCPv6 is not DHCP. > Thanks. Thanks for what? (to be read as &qu

Re: [Dnsmasq-discuss] dnsmasq and external DHCPv6 servers

2022-01-03 Thread Geert Stappers via Dnsmasq-discuss
t; Any ideas how I can get this working? Start with research if "DHCPv6" has such feature. 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

Re: [Dnsmasq-discuss] [bisected] re-reading resolv.conf bug

2022-01-03 Thread Geert Stappers via Dnsmasq-discuss
[20581]: using nameserver 10.x.xx.75#53 > Jan 3 20:06:04 dnsmasq[20581]: using nameserver 192.168.178.1#53 > > If dnsmasq is restarted to work around the problem, > then after stopping VPN: > > Jan 3 19:55:18 dnsmasq[18927]: using nameserver 10.x.xx.60#53 > > > Could you p

Re: [Dnsmasq-discuss] 2 routes

2021-11-28 Thread Geert Stappers via Dnsmasq-discuss
ettings on the server, not > have anything baked into client machines. Carl, original poster, will learn what the DHCP clients do with what the DHCP server provides. I mean that having the best server is meaningless when the clients don't understand it. Groeten Geert Stappers --

Re: [Dnsmasq-discuss] 2 routes

2021-11-29 Thread Geert Stappers via Dnsmasq-discuss
On Sun, Nov 28, 2021 at 11:55:59PM -0800, Carl Karsten wrote: > On Sun, Nov 28, 2021 at 11:20 PM Geert Stappers wrote: > > On Sun, Nov 28, 2021 at 03:44:38PM -0800, Carl Karsten wrote: > > > I don't think DHCP supports this, but I'm not sure. > > > > > > C

Re: [Dnsmasq-discuss] 2 routes

2021-11-29 Thread Geert Stappers via Dnsmasq-discuss
5 has. As I read RFC 3442 I would expect dhcp-option=121, 24,192,168,1,1,2,3,4, 8,10,5,6,7,8 So destination 192.168.1.0/24 encoded as 24,192,168,1 and destination 10.0.0.0/8 encoded as 8,10 Groeten Geert Stappers -- Silence is hard to parse

Re: [Dnsmasq-discuss] CNAME responses are not processed through address=/ ... / filter

2021-11-25 Thread Geert Stappers via Dnsmasq-discuss
;; Query time: 28 msec ;; SERVER: 9.9.9.9#53(9.9.9.9) ;; WHEN: do nov 25 18:44:52 CET 2021 ;; MSG SIZE rcvd: 209 As I see it: * the `dig -t A setup.icloud.com` is one single request * the response comes from one single upstream server * there is no need for Dnsmasq to redact the response

Re: [Dnsmasq-discuss] Behavior change of upstream servers set via DBus

2021-11-09 Thread Geert Stappers via Dnsmasq-discuss
make skipping message possible (huge time gain) and reading in the discussion order possible (huge gain in logical thinking). Regards Geert Stappers P.S. Neither am I a native english speaker, I might misreading "You must fix my problem!", no hard feelings. ___

<    1   2   3   4   5   6   7   8   >