Re: [Dnsmasq-discuss] No more random source port if "--enable-dbus" is used and NM plugin

2020-08-08 Thread Geert Stappers
On Fri, Aug 07, 2020 at 08:51:07PM +0200, Geert Stappers wrote: > On Fri, Aug 07, 2020 at 07:09:52PM +0300, Michael Aramanovich wrote: > > (continuation of > > http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/2017q1/011315.html > > ) > > > > Hello &

Re: [Dnsmasq-discuss] No more random source port if "--enable-dbus" is used and NM plugin

2020-08-07 Thread Geert Stappers
advise if this is a dnsmasq bug, or there are any other > configuration options (either in dnsmasq or NetworkManager) to avoid this > and force dnsmasq to use a random UDP source port for upstream queries. IIUC is is it the combo of Juniper with "DNS algo", Network Manager and

Re: [Dnsmasq-discuss] Setting multiple tags configuration syntax

2020-08-04 Thread Geert Stappers
On Tue, Aug 04, 2020 at 04:09:48PM +0200, kvaps wrote: > On Tue, Aug 4, 2020 at 1:36 PM Geert Stappers wrote: > > On Tue, Aug 04, 2020, kvaps wrote: > } } I'm trying to start dnsmasq with the following option > } } > --dhcp-host="02:00:ac:10:00:0a,id:*,set:foo,set:bar,se

Re: [Dnsmasq-discuss] Setting multiple tags, syntax & limit

2020-08-04 Thread Geert Stappers
On Tue, Aug 04, 2020 at 04:41:45PM +0200, kvaps wrote: > On Tue, Aug 4, 2020 at 4:09 PM kvaps wrote: > > On Tue, Aug 4, 2020 at 1:36 PM Geert Stappers wrote: > > > Please try > > > } > > > --dhcp-host="02:00:ac:10:00:0a,id:*,set:foo:bar:baz,172.16.

Re: [Dnsmasq-discuss] Setting multiple tags

2020-08-04 Thread Geert Stappers
On Tue, Aug 04, 2020 at 08:55:34AM -0400, wkitt...@gmail.com wrote: > On 8/4/20 7:15 AM, Geert Stappers wrote: > > Please try > > } > > --dhcp-host="02:00:ac:10:00:0a,id:*,set:foo:bar:baz,172.16.0.10,node1,infinite > > and report back. > > if this is the

Re: [Dnsmasq-discuss] Setting multiple tags

2020-08-04 Thread Geert Stappers
[,set:[,set:]] Please try } --dhcp-host="02:00:ac:10:00:0a,id:*,set:foo:bar:baz,172.16.0.10,node1,infinite and report back. Groeten Geert Stappers -- Silence is hard to parse ___ Dnsmasq-discuss mailing lis

Re: [Dnsmasq-discuss] Mac Darwin confusion

2020-08-04 Thread Geert Stappers
On Tue, Aug 04, 2020 at 08:18:24AM +0700, Bernd Prager wrote: > On 8/4/20 3:36 AM, Andrew Miskell wrote: > > On Aug 3, 2020, at 3:06 PM, Geert Stappers wrote: > > > On Mon, Aug 03, 2020 at 07:04:47PM +0200, No Yes No Questions wrote: > > > > On Mon, Aug 03, 2020 at

Re: [Dnsmasq-discuss] Mac Darwin confusion

2020-08-03 Thread Geert Stappers
168.1.5#53(192.168.1.5) > > The same .5 > > > > ;; WHEN: Mon Aug 03 22:29:25 +07 2020 > > ;; MSG SIZE  rcvd: 51 > > > > [bernd@loki ~$ ping -c 1 freyja > > ping: cannot resolve freyja: Unknown host > > > > Does anybody have an idea what I am m

Re: [Dnsmasq-discuss] multiple upstream servers

2020-07-30 Thread Geert Stappers
> S Irlapati, you did force your client to request a new DHCP lease to put > those options into effect, didn't you? Original Poster: How can we, this mailinglist, make you less shy? Regards Geert Stappers -- Silence is hard to parse ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss

Re: [Dnsmasq-discuss] Incorrect response for DNAME'd records in dnsmasq 2.80+

2020-07-29 Thread Geert Stappers
e, it's more difficult. The cache has no efficient way to find such records. The fix is to insert empty (none of F_IPV4, F_IPV6 F_CNAME set) records for each non-terminal. The same considerations apply in auth mode, and the same basic mechanism is used there too. Regards G

Re: [Dnsmasq-discuss] Tag requests for a DHCP address from devices using a Locally Administered MAC address

2020-07-26 Thread Geert Stappers
On Sun, Jul 26, 2020 at 12:37:32PM -0700, d...@lutean.com wrote: > From: Vladislav Grishenko Sent: July 26, 2020 8:04 AM > > From: Pali Rohar Sent: Sunday, July 26, 2020 7:20 PM > > On Sunday 26 July 2020 15:35:24 Geert Stappers wrote: > > > On Sun, Jul 26, 202

Re: [Dnsmasq-discuss] [PATCH v2] DHCPv6: Honor assigning IPv6 address based on MAC address

2020-07-26 Thread Geert Stappers
, this is the only thing which needs to be fixed and after patch would be > merged? > Which part of 'and see what happens' may I explain? And for which consultancy fee? Regards Geert Stappers Retransmitting "a blunt 'patch rejected' is way better than

Re: [Dnsmasq-discuss] Tag requests for a DHCP address from devices using a Locally Administered MAC address

2020-07-26 Thread Geert Stappers
iki/MAC_address#/media/File:MAC-48_Address.svg > > for the "exploded view" > > > > https://en.wikipedia.org/wiki/MAC_address#Unicast_vs._multicast > > The reason two bits are tested is because: > - one bit is the UAA / LAA bit > - one bit is the unicast / multica

Re: [Dnsmasq-discuss] Tag requests for a DHCP address from devices using a Locally Administered MAC address

2020-07-26 Thread Geert Stappers
ext = netid; > + netid = _id; > +} > + } > + >/* check for DHCP rather than BOOTP */ >if ((opt = option_find(mess, sz, OPTION_MESSAGE_TYPE, 1))) > { > Main problem I have with the patch is that it checks on two bits and uses the name of one bit.

Re: [Dnsmasq-discuss] AA bit on auth-zone

2020-07-23 Thread Geert Stappers
On Thu, Jul 23, 2020 at 11:17:00AM -0600, Bryce Larson wrote: > On Thu, Jul 23, 2020 at 10:59 AM Geert Stappers wrote: > > On Thu, Jul 23, 2020 at 10:06:31AM -0600, Bryce Larson wrote: > > > I've been using dnsmasq as an authoritative server for my lan under a > > > sub

Re: [Dnsmasq-discuss] AA bit on auth-zone

2020-07-23 Thread Geert Stappers
something wrong? It seems like a bug to not have dnsmasq add > the AA bit to responses that are part of an auth-zone. http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/2020q3/014200.html isn't yet confirmed. Regards Geert Stappers -- Silence is hard to parse

Re: [Dnsmasq-discuss] [PATCH v2] DHCPv6: Honor assigning IPv6 address based on MAC address

2020-07-23 Thread Geert Stappers
ping IPv6 to MAC address whether > > it violates RFCs or not. For reasons of firewall pinholes I need > > certain machines to land at certain addresses. For ‘fun’ we > > can discuss if this is a problem with/for upnp/natpnp &

Re: [Dnsmasq-discuss] TCP DNS requests fail with "communications error" / "end of file"

2020-07-20 Thread Geert Stappers
wrong. > > How can I help get this resolved? I can't tell. Thing I can tell is that is does help to reproduce the TCP DNS request issues outside the pi-hole project. Regards Geert Stappers -- Silence is hard to parse ___ Dnsmasq-discuss mailing list Dns

Re: [Dnsmasq-discuss] OpenWrt - dnsmasq - debugging delayed responses

2020-07-16 Thread Geert Stappers
gt; it > gets a reply, then the address must already be in use, and another is > tried. > This flag disables this check. Use with caution. > A network sniff (tcpdump, tshark, wireshark) will provide information about it. Regards Geert Stappers Who liked the data in t

Re: [Dnsmasq-discuss] Fwd: [PATCH] Makefile: make variables overridable

2020-07-12 Thread Geert Stappers
et correct value of that variable? > > It is lot of easier to set correct value during compilation as patching > sources or sending patch to upstream and waiting if it would be released > in new version. I have prepared a patch which only changes the PKG_CONFIG and does have explainat

[Dnsmasq-discuss] [PATCH] Accept PKG_CONFIG from environment

2020-07-12 Thread Geert Stappers
From: Geert Stappers Dnsmasq has not yet a portable build system. Famous is GNU autoconf which generates Makefiles. To avoid such large change this simple change. It allows that PKG_CONFIG can be overriden. That PKG_CONFIG is set by the build environment, so no need to modify the Makefile

Re: [Dnsmasq-discuss] Fwd: [PATCH] Makefile: make variables overridable

2020-07-11 Thread Geert Stappers
On Sat, Jul 11, 2020 at 07:33:07PM +0200, john doe wrote: > On 7/11/2020 4:17 PM, Geert Stappers wrote: > > On Sat, Jul 11, 2020 at 02:33:36PM +0200, betaboon wrote: > > > Hello Simon, hello everyone. > > > > > > when cross-compiling dnsmasq for armv7 in

Re: [Dnsmasq-discuss] Fwd: [PATCH] Makefile: make variables overridable

2020-07-11 Thread Geert Stappers
o > -MAN = man > +SRC ?= src > +PO ?= po > +MAN ?= man > > # > > -- > 2.27.0 > So a single 'dbus.c:21:10: fatal error: dbus/dbus.h: No such file or directory' in the NixOS world, shows up here as requ

Re: [Dnsmasq-discuss] Run multiple processes (with diff port #'s, interface bindings) concurrently?

2020-07-08 Thread Geert Stappers
gt; commands. > > environment: > Ubuntu 20.04 > dnsmasq 2.80 > > Thanks, Feel free to report your milage here. As in: It is up you to prevent "but does not mention multiple port #'s" > ~J Groeten Geert Stappers -- Silence is hard to parse _

Re: [Dnsmasq-discuss] Ability to not bind :: for DNS when binding wildcard

2020-07-06 Thread Geert Stappers
t if no IPv6 address exist on the > system, there is not much that can be done with :::53. In the end > probably more a cosmetic issue. I do call it plain ugly :-) > I was thinking into the direction that create_wildcard_listeners > checks by itself if the system has IPv6 enabled/d

Re: [Dnsmasq-discuss] How to store CNAME, MX, and other non-A/AAAA records in /etc/hosts?

2020-07-03 Thread Geert Stappers
-hosts' or /etc/hosts, where else? > I'm guessing /etc/dnsmasq.d (?), OK, then try it ... Regards Geert Stappers In an attempt to encourage explorers to discover the world. -- Silence is hard to parse ___ Dnsmasq-discuss mailing li

Re: [Dnsmasq-discuss] Minimal config: small # of A records, no upstream server

2020-07-03 Thread Geert Stappers
On Thu, Jul 02, 2020 at 08:44:02PM -0700, Frank wrote: > On Jul 2, 2020, at 7:18 PM, Johnny Utahh > wrote: > > On 2020-07-02 12:57 PM, Geert Stappers wrote: > >> On Thu, Jul 02, 2020 at 06:16:49AM -0500, Johnny Utahh wrote: > >>> On 2020-07-02 2:18 AM, Geert Stap

Re: [Dnsmasq-discuss] Minimal config: small # of A records, no upstream server

2020-07-02 Thread Geert Stappers
On Thu, Jul 02, 2020 at 06:16:49AM -0500, Johnny Utahh wrote: > On 2020-07-02 2:18 AM, Geert Stappers wrote: > > On Wed, Jul 01, 2020 at 10:06:36PM -0500, Johnny Utahh wrote: > > > Hello, > > > > > > Do I need to make any edits/additions to the dnsmasq.conf

Re: [Dnsmasq-discuss] Minimal config: small # of A records, no upstream server

2020-07-02 Thread Geert Stappers
> >/etc/dnsmasq.conf: >interface=eth8 >no-dhcp-interface=eth8 > That is indeed not enough for the desired use case. Regards Geert Stappers While testing a new community member. -- Silence is hard to parse _

Re: [Dnsmasq-discuss] [Bugreport] => man page => key '-S, --local, --server' => typo

2020-06-26 Thread Geert Stappers
^ > Expected behavior: the number of left brackets is equal to the number of > right brackets. Groeten Geert Stappers -- Silence is hard to parse ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss

Re: [Dnsmasq-discuss] Static leases issues

2020-06-09 Thread Geert Stappers
ponsability of the server to distribute IP adresses it > decide whatever IP the client ask? Yes. And the DHCP client is supposed to behave nicely. Groeten Geert Stappers -- Silence is hard to parse ___ Dnsmasq-discuss mailing list

Re: [Dnsmasq-discuss] Static leases issues

2020-06-09 Thread Geert Stappers
ient. And know that tcpdump is your "microscoop" Feel free to share your experience with this mailinglist. Groeten Geert Stappers -- Silence is hard to parse ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss

Re: [Dnsmasq-discuss] broadcast address equals siaddr

2020-06-09 Thread Geert Stappers
; dhcp-match=set:X86-64_EFI,option:client-arch,7 > dhcp-match=set:X86-64_EFI,option:client-arch,9 > > > Best Regards, > Andrei Kvapil Here at this side of the Internet arrived only parts of the message. Please retransmitted the whole message. Regards Geert Stappers -- Silen

Re: [Dnsmasq-discuss] dnsmasq-dhcp: DHCP, proxy on subnet 192.0.2.0

2020-06-07 Thread Geert Stappers
On Sat, Jun 06, 2020 at 09:06:44PM +0200, Geert Stappers wrote: > On Sat, Jun 06, 2020 at 07:06:05PM +0200, Geert Stappers wrote: > > Hi, > > > > The plan is that dnsmasq DHCP server hands bootfile information > > in conjunction with an existing DHCP, a.k.a. proxy-DHCP

[Dnsmasq-discuss] [PATCH 2/3] via TFTP, minor typo fix

2020-06-06 Thread Geert Stappers
The "FTP" looked awark after reading all those "_T_FTP". Also more readable comment / better documenting what is going on. --- dnsmasq.conf.example | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dnsmasq.conf.example b/dnsmasq.conf.example index 4dbec7b..e58c812 100644 ---

[Dnsmasq-discuss] [PATCH 1/3] Found by minor typo fix

2020-06-06 Thread Geert Stappers
From: Geert Stappers --- dnsmasq.conf.example | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dnsmasq.conf.example b/dnsmasq.conf.example index bf19424..4dbec7b 100644 --- a/dnsmasq.conf.example +++ b/dnsmasq.conf.example @@ -483,7 +483,7 @@ # Beware this fails on old PXE

Re: [Dnsmasq-discuss] dnsmasq-dhcp: DHCP, proxy on subnet 192.0.2.0

2020-06-06 Thread Geert Stappers
On Sat, Jun 06, 2020 at 07:06:05PM +0200, Geert Stappers wrote: > Hi, > > The plan is that dnsmasq DHCP server hands bootfile information > in conjunction with an existing DHCP, a.k.a. proxy-DHCP > > With dnsmasq fresh compiled from up-to-date git repository > works th

[Dnsmasq-discuss] [PATCH 3/3] Stripped trailing white spaces from config example

2020-06-06 Thread Geert Stappers
--- dnsmasq.conf.example | 22 +++--- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/dnsmasq.conf.example b/dnsmasq.conf.example index e58c812..e523209 100644 --- a/dnsmasq.conf.example +++ b/dnsmasq.conf.example @@ -27,8 +27,8 @@ # Replies which are not DNSSEC

[Dnsmasq-discuss] dnsmasq-dhcp: DHCP, proxy on subnet 192.0.2.0

2020-06-06 Thread Geert Stappers
is your proxy-DHCP dhcp-range=192.0.2.0,proxy succes story? Regards Geert Stappers -- Silence is hard to parse ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss

Re: [Dnsmasq-discuss] read /etc/hosts if DNS disabled

2020-06-06 Thread Geert Stappers
ring static DHCP using /etc/hosts and > > > > > /etc/ethers. > > > > > It seems that dnsmasq is ignoring /etc/hosts when dns server is > > > > > disabled > > > > > via "-p 0" option. > > > > > > > >

Re: [Dnsmasq-discuss] dnsmasq doesn't pick up search domains

2020-06-04 Thread Geert Stappers
he effect, because it isn't that kind > of option. > > Greetings > Andreas Benzler > > Karlsruher Institut für Technologie (KIT) > Abteilung > Institut für Nukleare Entsorgung (INE) > > Informatik/Systemadministration > > Hermann-von-Helmho

Re: [Dnsmasq-discuss] Listening on VLAN and parent interface for DHCP

2020-06-01 Thread Geert Stappers
On Mon, Jun 01, 2020 at 12:55:23AM -0400, Matt Winter wrote: > Hello, > > I'm trying to debug some DHCP behavior on my UniFi home network. > > The Unifi Security Gateway is a router responsible for handing out IPs for > all of my VLANs. On the USG: > - eth1 has 192.168.1.1/24 > - eth1.10 has

Re: [Dnsmasq-discuss] read /etc/hosts if DNS disabled

2020-05-21 Thread Geert Stappers
tc/hosts when dns server is disabled > > > via "-p 0" option. > > > > > > Can anyone confirm? > > > If I'm right, is this bug or a feature? > > On 21.05.20 15:03, Geert Stappers wrote: > > Advice: Describe "the problem" bette

Re: [Dnsmasq-discuss] dnsmasq unit tests! [fun vs serious]

2020-05-21 Thread Geert Stappers
On Thu, May 14, 2020 at 04:19:55PM +0200, Petr Menšík wrote: > On 5/12/20 10:51 PM, Geert Stappers wrote: > > On Mon, May 04, 2020 at 05:02:38PM +0200, Petr Menšík wrote: > >> Hello everyone, > >> ... > >> > >> I would love if you could try it an

Re: [Dnsmasq-discuss] [PATCH] dnsmasq unit tests!

2020-05-21 Thread Geert Stappers
On Thu, May 14, 2020 at 09:08:09PM +0200, Petr Menšík wrote: > My previous message is waiting for moderation, since my patch is a big one. > > On 5/12/20 10:51 PM, Geert Stappers wrote: > > On Mon, May 04, 2020 at 05:02:38PM +0200, Petr Menšík wrote: > ... > > > &g

Re: [Dnsmasq-discuss] [PATCH v2] DHCPv6: Honor assigning IPv6 address based on MAC address

2020-05-21 Thread Geert Stappers
c/rfc3315.c b/src/rfc3315.c > index b3f0a0a..e588b13 100644 > --- a/src/rfc3315.c > +++ b/src/rfc3315.c ... 142 lines of actual patch ... Groeten Geert Stappers -- Silence is hard to parse ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss

Re: [Dnsmasq-discuss] lease time affects ipv6 prefix life time

2020-05-21 Thread Geert Stappers
means a stale and unusable prefix is announced as "valid > = 120, preferred = 0" for about two minutes. It seems clients can > cope with it. Still, I would like to zap the old prefix "instantly" > with lease_time=1. > > Olaf Regards Geert Stappers In an att

Re: [Dnsmasq-discuss] read /etc/hosts if DNS disabled

2020-05-21 Thread Geert Stappers
anyone confirm? > If I'm right, is this bug or a feature? > > Thanks Advice: Describe "the problem" better. Regards Geert Stappers -- Silence is hard to parse ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.

Re: [Dnsmasq-discuss] dnsmasq and NXNSAttack

2020-05-21 Thread Geert Stappers
ets exchanged by the recursive resolver. ii) Besides the negative cache, the attack also saturates the ’NS’ resolver caches. Regards Geert Stappers -- Silence is hard to parse ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk h

Re: [Dnsmasq-discuss] No forgetting logic when using hostsdir

2020-05-17 Thread Geert Stappers
t them, either by SIGHUP or a complete restart. > > > > Personally I would find it a welcome option if dnsmasq could also > > dynamically forget entries. I suspect it is not as simple as it > > sounds otherwise it would have been implemented. > > Thank you, Kevin. &

Re: [Dnsmasq-discuss] No forgetting logic when using hostsdir

2020-05-17 Thread Geert Stappers
masq 2.80. Apologies if this has been fixed in 2.81, > I did not succeed in compiling from sources to check. > > I hope this helps. Helpfull is reporting back how helpfull this message was. Groeten Geert Stappers -- Silence is hard to parse ___

Re: [Dnsmasq-discuss] Regression in 2.81 related to support for multiple IPv6 addresses - [PATCH 1/1] Fix regression in s_config_in_context() method

2020-05-12 Thread Geert Stappers
On Tue, May 12, 2020 at 10:19:46PM +0200, Geert Stappers wrote: > On Thu, May 07, 2020 at 04:14:03PM +0200, Petr Menšík wrote: > > Please skip my previous patches in this thread and original Harald's > > patch. This one is one is correct. > > I'm forging something that is

[Dnsmasq-discuss] [PATCH] Fix regression in s_config_in_context() method

2020-05-12 Thread Geert Stappers
From: Harald Jensås Prior to commit 137286e9baecf6a3ba97722ef1b49c851b531810 a config would not be considered in context if: a) it has no address family flags set b) it has the address family flag of current context set Since above commit config is considered in context if the address family is

Re: [Dnsmasq-discuss] Regression in 2.81 related to support for multiple IPv6 addresses - [PATCH 1/1] Fix regression in s_config_in_context() method

2020-05-12 Thread Geert Stappers
r for "lower CPU usage" > Please skip my previous patches in this thread and original Harald's > patch. This one is one is correct. I'm forging something that is plain the git commit. The idea is that it allows Simon to do `| git am`. Groeten Geert Stapp

Re: [Dnsmasq-discuss] [PATCH] dnsmasq unit tests!

2020-05-12 Thread Geert Stappers
On Mon, May 04, 2020 at 05:02:38PM +0200, Petr Menšík wrote: > Hello everyone, > > we have merged support for multiple IPv6 addresses to our release in > RHEL. We tried to ensure it does not break anything and we failed. > > I made already some dnsmasq tests in separate repository [1], running

Re: [Dnsmasq-discuss] [PATCH] Regression in 2.81 related to support for multiple IPv6 addresses

2020-04-30 Thread Geert Stappers
t; --- a/src/lease.c > +++ b/src/lease.c > @@ -230,7 +230,7 @@ void lease_update_from_configs(void) > if (lease->flags & (LEASE_TA | LEASE_NA)) >continue; > else if ((config = find_config(daemon->dhcp_conf, NULL, lease->clid, > lease->clid_len, > -lease->hwaddr, lease->hwaddr_len, > lease->hwaddr_type, NULL, NULL)) && > +lease->hwaddr, lease->hwaddr_len, > lease->hwaddr_type, NULL, NULL, 0)) && Missing a chance of trailing white space removal ;-) >(config->flags & CONFIG_NAME) && >(!(config->flags & CONFIG_ADDR) || config->addr.s_addr == > lease->addr.s_addr)) >lease_set_hostname(lease, config->hostname, 1, > get_domain(lease->addr), NULL); > diff --git a/src/rfc2131.c b/src/rfc2131.c > index fc54aab..22c2d63 100644 > --- a/src/rfc2131.c > +++ b/src/rfc2131.c ... Groeten Geert Stappers -- Silence is hard to parse ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss

Re: [Dnsmasq-discuss] [PATCH] DHCPv6: Honor assigning IPv6 address based on MAC address

2020-04-21 Thread Geert Stappers
rantee for acceptance. I agree that being ignored does cost human energy. Sad, but true. What I'm now trying is to break the loop of repeated "review my patch". Send UPDATED versions for patches (stop retransmitting patches that are most likely outdated.) Regards Geert Stappers P.S. Sim

Re: [Dnsmasq-discuss] IPv6 host-id

2020-04-21 Thread Geert Stappers
On Tue, Apr 21, 2020 at 09:47:35AM -0400, Jiawen Chen wrote: > On Tue, Apr 21, 2020 at 3:01 AM Geert Stappers wrote: > > On Mon, Apr 20, 2020 at 10:27:11PM -0400, Jiawen Chen wrote: > > > > > > I'd like to use DHCPv6 and IPv6, using the host-id-only option. > >

Re: [Dnsmasq-discuss] DNS set using dhcp-host expires?

2020-04-21 Thread Geert Stappers
On Tue, Apr 21, 2020 at 09:57:34AM -0400, Jiawen Chen wrote: > On Tue, Apr 21, 2020 at 3:06 AM Geert Stappers wrote: > > On Mon, Apr 20, 2020 at 10:27:11PM -0400, Jiawen Chen wrote: > > > > > > I'm using dnsmasq for DHCP + DNS on my home LAN and use dhcp-host to &g

Re: [Dnsmasq-discuss] IPv6 host-id

2020-04-21 Thread Geert Stappers
2.168.0.150,[interface(br0)::0:1000],livingroom.internal,12h Groeten Geert Stappers -- Silence is hard to parse ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss

Re: [Dnsmasq-discuss] DNS set using dhcp-host expires?

2020-04-21 Thread Geert Stappers
name_not_found then exit fi sleep 2 hour done because it keeps the DNS entry in cache. > > For these static DHCP leases, is the best practice to set them in > /etc/hosts instead? > > I also discovered --host-record, which does something very similar. Is

Re: [Dnsmasq-discuss] DNS set using dhcp-host doesn't exist until it connects?

2020-04-21 Thread Geert Stappers
te issues should have seperate mail threads. (now work in progress) Groeten Geert Stappers -- Silence is hard to parse ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss

Re: [Dnsmasq-discuss] Failure of dnsmasq v2.81 in docker (qemu emulated armhf hardware)

2020-04-19 Thread Geert Stappers
setsockopt(daemon->netlinkfd, SOL_NETLINK, NETLINK_NO_ENOBUFS, , > sizeof(opt)) == -1) || use it with value as set in proper place > +#endif >getsockname(daemon->netlinkfd, (struct sockaddr *), ) == -1) > die(_("cannot create netlink socket: %s"), NULL, EC

Re: [Dnsmasq-discuss] No DHCPOffer back but DHCPDiscover is being received by UML machine

2020-04-16 Thread Geert Stappers
On Wed, Apr 15, 2020 at 07:27:02PM +0100, Josh H wrote: > On Wed, 15 Apr 2020 at 19:17, Geert Stappers wrote: > > Josh H wrote in another message: > > ( > > http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/2020q2/013988.html > > ) > > > > > I'm

Re: [Dnsmasq-discuss] No DHCPOffer back but DHCPDiscover is being received by UML machine

2020-04-15 Thread Geert Stappers
memory?) worked on this sort of setup perfectly fine, so > it seems thats either the kernel update or a newer version of dnsmasq > has broken something along the way. I don't understand, but yes indeed Kernel, libc and dnsmasq should be alined. I hope this helps, otherwise read the

Re: [Dnsmasq-discuss] ignore mac address for one of the dhcp

2020-04-14 Thread Geert Stappers
On Tue, Apr 14, 2020 at 03:05:38AM -0400, John Siu wrote: > On Mon, Apr 13, 2020 at 12:15 PM Geert Stappers wrote: > > On Mon, Apr 13, 2020 at 10:18:31AM -0400, John Siu wrote: > > > On Mon, Apr 13, 2020 at 4:54 AM Geert Stappers wrote: > > > > On Sun, Apr 12, 2020

Re: [Dnsmasq-discuss] No DHCPOffer back but DHCPDiscover is being received by machine

2020-04-14 Thread Geert Stappers
> Hopefully someone can work out my issue! You already have met the best someone ;-) Tell more about the set up in use. My hope is that it provides some clue why `tcpdump` can see DHCP network traffic that `dnsmasq` should seen also. > Thank you very much! Thank you for reporting in an

Re: [Dnsmasq-discuss] ignore mac address for one of the dhcp

2020-04-13 Thread Geert Stappers
On Mon, Apr 13, 2020 at 10:18:31AM -0400, John Siu wrote: > On Mon, Apr 13, 2020 at 4:54 AM Geert Stappers wrote: > > On Sun, Apr 12, 2020 at 03:14:33PM -0400, John Siu wrote: > > > I am running dnsmasq on a multiple port box. Following are dhcp config > > >

Re: [Dnsmasq-discuss] ignore mac address for one of the dhcp

2020-04-13 Thread Geert Stappers
the dmz side. > > How can I make dnsmasq only serve IP on the lan side for this specific mac > address? Tell more about what you have. Regards Geert Stappers -- Silence is hard to parse ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss

Re: [Dnsmasq-discuss] Announce: dnsmasq-2.81

2020-04-12 Thread Geert Stappers
Thanks Is the release date hinting https://eeggs.com/tree/153.html ? Regards Geert Stappers -- Silence is hard to parse ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss

Re: [Dnsmasq-discuss] Question

2020-04-10 Thread Geert Stappers
may help me solve this problem. Ah, I see > ... however I am looking for a solution that will > allow visitors to type in the public WWW url address and view the website. > It is important that public visitors can access the website from the > "normal" URL address. Answer:

Re: [Dnsmasq-discuss] [PATCH] src/dnsmasq.c: Labeled a lonely #endif

2020-04-08 Thread Geert Stappers
On Mon, Apr 06, 2020 at 09:17:49PM +0200, Geert Stappers wrote: > On Mon, Apr 06, 2020 at 03:45:04PM +0100, Simon Kelley wrote: > > On 05/04/2020 17:07, Geert Stappers wrote: > > > diff --git a/src/dnsmasq.c b/src/dnsmasq.c > > > index 0f73782..878167c 100644 > >

Re: [Dnsmasq-discuss] [PATCH] src/dnsmasq.c: Labeled a lonely #endif

2020-04-06 Thread Geert Stappers
On Mon, Apr 06, 2020 at 03:45:04PM +0100, Simon Kelley wrote: > On 05/04/2020 17:07, Geert Stappers wrote: > > diff --git a/src/dnsmasq.c b/src/dnsmasq.c > > index 0f73782..878167c 100644 > > --- a/src/dnsmasq.c > > +++ b/src/dnsmasq.c > > @@ -2112,6 +2112,4 @@ int

[Dnsmasq-discuss] [PATCH] src/dnsmasq.c: Labeled a lonely #endif

2020-04-05 Thread Geert Stappers
From: Geert Stappers Because the opening `#ifdef` is faraway. Also removed empty lines at the end of file. --- src/dnsmasq.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/dnsmasq.c b/src/dnsmasq.c index 0f73782..878167c 100644 --- a/src/dnsmasq.c +++ b/src

Re: [Dnsmasq-discuss] Fwd: dnsmasq localise-queries + addn-hosts

2020-04-05 Thread Geert Stappers
enough, the log entry for where the query came from is > correctly detected, but I guess it's not using that address to localise? > > eg: > Apr 5 14:44:59 dnsmasq[505]: query[A] github.com from 10.23.0.23 > Apr 5 14:44:59 dnsmasq[505]: forwarded github.com to 1.0.0.1 > Apr 5 14:44:59 dnsmasq[505]: reply github.com is 140.82.118.3 > > Are the addresses used in the log and the destination address different? Please elaborate that question, especially "destination address". Regards Geert Stappers -- Silence is hard to parse ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss

Re: [Dnsmasq-discuss] dnsmasq localise-queries + addn-hosts "views"

2020-03-29 Thread Geert Stappers
"? > or being told i'm wrong! An example of "wrong" is not respecting the discussion order. Place your reply below the previous text. Make it possible that your community members can read in the order as it has been told. Understand that you are writing to N people. With N being large. At least larger then your usual one-on-one conversation. Regards Geert Stappers -- Silence is hard to parse ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss

Re: [Dnsmasq-discuss] TFTP storage issue prevents other dnsmasq services (DHCP/DNS) to run

2020-03-26 Thread Geert Stappers
`tftp-no-fail` does what you expect from it. Regards Geert Stappers -- Silence is hard to parse ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss

Re: [Dnsmasq-discuss] NETLINK_NO_ENOBUFS not defined on old platforms

2020-03-20 Thread Geert Stappers
sed -n 107,111p | |+#ifndef NETLINK_NO_ENOBUFS |+#define NETLINK_NO_ENOBUFS 5 |+#endif | |$ In case more #ifdef is wanted, sent patches ... Regards Geert Stappers -- Silence is hard to parse ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss

Re: [Dnsmasq-discuss] NETLINK_NO_ENOBUFS not defined on old platforms

2020-03-19 Thread Geert Stappers
pt(daemon->netlinkfd, SOL_NETLINK, NETLINK_NO_ENOBUFS, , > sizeof(opt)) == -1 || > +#endif >getsockname(daemon->netlinkfd, (struct sockaddr *), ) == -1) > die(_("cannot create netlink socket: %s"), NULL, EC_MISC); > > Thanks. FWIW in case i

Re: [Dnsmasq-discuss] [PATCH 0/1] Fix resource leak on ubus_init failure.

2020-03-18 Thread Geert Stappers
t send-email sends it.) Yes, it did. FWIW: expect that nothing might happen the next few days and do know that is it OK to send a reminder ... Regards Geert Stappers -- Silence is hard to parse ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists

Re: [Dnsmasq-discuss] Can't get dnsmasq to resolve local (DHCP/static) names

2020-03-18 Thread Geert Stappers
ookup thekelleys.org.uk > -> works fine > > $ nslookup blabla..com(or any other dhcp-client name, anything > on the local domain .com) > Non-authoritative answer: > *** Can't find blabla..com: No answer > > > Any clue? :-) I would go to a clie

Re: [Dnsmasq-discuss] What it is

2020-03-17 Thread Geert Stappers
On Tue, Mar 17, 2020 at 09:08:15AM -0500, Sasha Litvak wrote: > On Tue, Mar 17, 2020, 1:48 AM Geert Stappers wrote: > > On Mon, Mar 16, 2020 at 08:31:17PM -0500, Sasha Litvak wrote: > > > ... > > > We are using dnsmasq on our servers as a caching dns solution. > &

Re: [Dnsmasq-discuss] TTL in nested wild card CNAME

2020-03-17 Thread Geert Stappers
On Mon, Mar 16, 2020 at 08:31:17PM -0500, Sasha Litvak wrote: > I couldn't find a specific answer anywhere so hopefully someone has a > clue on this list > > We are using dnsmasq on our servers as a caching dns solution. > > Most of our domains are resolved by a wildcard record like this > >

Re: [Dnsmasq-discuss] dnsmasq and option 78

2020-03-09 Thread Geert Stappers
: read /home/gs0604/etc/dnsmasq-virt0-hostsdir/nebo mrt 09 21:44:23 trancilo dnsmasq-dhcp[3050]: read /home/gs0604/etc/dnsmasq-virt0-hostsdir/vmrtr mrt 09 21:44:31 trancilo dnsmasq-dhcp[3050]: RTR-ADVERT(ovsbr0) fd45:bd2a:bb0b:1001:: $ grep =78 ~/etc/dnsmasq

Re: [Dnsmasq-discuss] space two point eighty one

2020-03-08 Thread Geert Stappers
On Sun, Mar 08, 2020 at 05:40:13PM +, Simon Kelley wrote: > On 05/03/2020 21:05, Geert Stappers wrote: > > > > ... "Removed useless whitespace" ... > > > > > > I just spent a couple of hours playing with the options to GNU ident, to &

Re: [Dnsmasq-discuss] Patches DHCPv6

2020-03-08 Thread Geert Stappers
for asking is the upcoming 2.81 release. Regards Geert Stappers -- Silence is hard to parse ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss

Re: [Dnsmasq-discuss] space two point eighty one, take 2

2020-03-08 Thread Geert Stappers
On Sat, Mar 07, 2020 at 10:01:30PM +0100, Geert Stappers wrote: > In-Reply-To: <1255b7ff-351f-46d7-f811-ac3373102...@thekelleys.org.uk> > On Thu, Mar 05, 2020 at 10:34:29PM +, Simon Kelley wrote: > > On 05/03/2020 21:05, Geert Stappers wrote: > > > On Thu, Mar 0

[Dnsmasq-discuss] [PATCH] Remove tailing "white space only" lines

2020-03-07 Thread Geert Stappers
From: Geert Stappers Several files have white-space-only-lines at the end. Those strange end-of-file-markers are now removed. --- src/arp.c | 2 -- src/auth.c | 3 --- src/blockdata.c | 1 - src/bpf.c | 2 -- src/cache.c | 2 -- src/config.h| 3

Re: [Dnsmasq-discuss] space two point eighty one, take 2

2020-03-07 Thread Geert Stappers
In-Reply-To: <1255b7ff-351f-46d7-f811-ac3373102...@thekelleys.org.uk> On Thu, Mar 05, 2020 at 10:34:29PM +, Simon Kelley wrote: > On 05/03/2020 21:05, Geert Stappers wrote: > > On Thu, Mar 05, 2020 at 09:46:21PM +0100, Geert Stappers wrote: > >> > >&g

Re: [Dnsmasq-discuss] space two point eighty one, (Git) alias

2020-03-07 Thread Geert Stappers
On Sat, Mar 07, 2020 at 12:21:39PM +0100, john doe wrote: > On 3/7/2020 9:50 AM, Mark Grant wrote: > > On Fri, 6 Mar 2020 23:38:46 +0100, Geert Stappers wrote: > >> On Fri, Mar 06, 2020 at 02:53:43PM +, Mark Grant wrote: > >>> On Thu, 5 Mar 2020 22:3

Re: [Dnsmasq-discuss] space two point eighty one

2020-03-06 Thread Geert Stappers
On Fri, Mar 06, 2020 at 02:53:43PM +, Mark Grant wrote: > On Thu, 5 Mar 2020 22:34:29 +, Simon Kelley wrote: > > On 05/03/2020 21:05, Geert Stappers wrote: > > > On Thu, Mar 05, 2020 at 09:46:21PM +0100, Geert Stappers wrote: > > >>> ... > > &

Re: [Dnsmasq-discuss] space two point eighty one

2020-03-05 Thread Geert Stappers
On Thu, Mar 05, 2020 at 09:46:21PM +0100, Geert Stappers wrote: > Previous-Subject: Re: [Dnsmasq-discuss] Announce: dnsmasq-2.81rc1 > In-Reply-To: <46b01ef6-df07-44ed-86ba-ccbd2efdb...@darbyshire-bryant.me.uk> > On Tue, Mar 03, 2020 at 09:07:15AM +, Kevin 'ldir' Darbyshire-

Re: [Dnsmasq-discuss] way to inject static host wireguard ip into dnsmasq.leases untill dhcp renewal

2020-03-05 Thread Geert Stappers
client on the same LAN as dnmasq * probably a router * Wireguard device being a "VPN server", presumably called "the host" I'm lost. Isn't this "what / where define the DNS to used by VPN client?" ? Groeten Geert Stappers -- Silence is hard to parse _

[Dnsmasq-discuss] space two point eighty one

2020-03-05 Thread Geert Stappers
Previous-Subject: Re: [Dnsmasq-discuss] Announce: dnsmasq-2.81rc1 In-Reply-To: <46b01ef6-df07-44ed-86ba-ccbd2efdb...@darbyshire-bryant.me.uk> On Tue, Mar 03, 2020 at 09:07:15AM +, Kevin 'ldir' Darbyshire-Bryant wrote: > On 3 Mar 2020, at 06:31, Geert Stappers wrote: > > On Mo

Re: [Dnsmasq-discuss] Announce: dnsmasq-2.81rc1

2020-03-02 Thread Geert Stappers
nfig, *candidate; + struct dhcp_config *config, *candidate; struct hwaddr_config *conf_addr; Regards Geert Stappers (Thursday evening (UTC+1) more time for what should be in 2.81) -- Silence is hard to parse ___ Dnsmasq-discuss mailing l

Re: [Dnsmasq-discuss] dnsmasq using 100% of cpu

2020-03-02 Thread Geert Stappers
On Thu, Feb 20, 2020 at 10:49:35PM +, Simon Kelley wrote: > On 17/02/2020 14:37, Geert Stappers wrote: > > On 17-02-2020 14:31, Donald Sharp wrote: > > > >> Running: > >> > >> sharpd@eva:~/dnsmasq$ /sbin/dnsmasq --version > >> Dnsmasq

Re: [Dnsmasq-discuss] dnsmasq using 100% of cpu

2020-03-02 Thread Geert Stappers
e > network route is added. > If this happens and we still have a DNS packet in the buffer, > we re-send it. > This helps on DoD links, where frequently the packet which > triggers dialling is > a DNS query, which then gets lost. By re-sending, we can

Re: [Dnsmasq-discuss] conf-dir load order and strict-order directive

2020-02-29 Thread Geert Stappers
will work as > expected. > If i send a USR1 signal ( after deletion ) I still see: > Sat Feb 29 10:56:19 2020 daemon.info dnsmasq[17671]: server 127.0.0.1#5342: > queries sent 67, retried or failed 0 > Sat Feb 29 10:56:19 2020 daemon.info dnsmasq[17671]: server 127.0.0.1#5453:

Re: [Dnsmasq-discuss] dhcp-script not being called with "del"

2020-02-23 Thread Geert Stappers
On Sun, Feb 23, 2020 at 09:57:20PM +0100, Geert Stappers wrote: > On Sun, Feb 23, 2020 at 08:41:28PM +0100, William Edwards wrote: > > > > Hi, > > > > I have a 'dhcp-script'. It is being called with "add" and "old" upon > > requesting DHCP

Re: [Dnsmasq-discuss] dhcp-script not being called with "del"

2020-02-23 Thread Geert Stappers
test, I changed lease time to 1 minute and kept an eye on > /var/lib/misc/dnsmasq.leases . After 1 minute, the lease disappeared > from /var/lib/misc/dnsmasq.leases (thus expired). > However, the 'dhcp-script' was not called. > > How could I start researching this issue? > Go see wha

  1   2   3   4   >