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

2020-03-18 Thread Geert Stappers
lookup 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 wou

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] NETLINK_NO_ENOBUFS not defined on old platforms

2020-03-19 Thread Geert Stappers
ockopt(daemon->netlinkfd, SOL_NETLINK, NETLINK_NO_ENOBUFS, &opt, > sizeof(opt)) == -1 || > +#endif >getsockname(daemon->netlinkfd, (struct sockaddr *)&addr, &slen) == -1) > die(_("cannot create netlink socket: %s"), NULL, EC_MISC); > > Tha

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

2020-03-20 Thread Geert Stappers
0506a5ed4e56863627 | 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] TFTP storage issue prevents other dnsmasq services (DHCP/DNS) to run

2020-03-26 Thread Geert Stappers
that `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] dnsmasq localise-queries + addn-hosts "views"

2020-03-29 Thread Geert Stappers
elling which "thruth"? > 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] Fwd: dnsmasq localise-queries + addn-hosts

2020-04-05 Thread Geert Stappers
efinitely looks and feels like something NAT-ish to me! > Interestingly 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

[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] [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

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] Question

2020-04-10 Thread Geert Stappers
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: No

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] ignore mac address for one of the dhcp

2020-04-13 Thread Geert Stappers
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] 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] No DHCPOffer back but DHCPDiscover is being received by machine

2020-04-14 Thread Geert Stappers
smasq from Debian > Bullseye. > > 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 ve

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 UML machine

2020-04-15 Thread Geert Stappers
ernel > (3.2 from 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 t

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

2020-04-15 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&#x

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

2020-04-19 Thread Geert Stappers
d > setsockopt(daemon->netlinkfd, SOL_NETLINK, NETLINK_NO_ENOBUFS, &opt, > sizeof(opt)) == -1) || use it with value as set in proper place > +#endif >getsockname(daemon->netlinkfd, (struct sockaddr *)&addr, &slen) == -1) > die(_("cannot

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

2020-04-20 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] DNS set using dhcp-host expires?

2020-04-20 Thread Geert Stappers
t process_output if hostname_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, whi

Re: [Dnsmasq-discuss] IPv6 host-id

2020-04-20 Thread Geert Stappers
t=,192.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
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

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] [PATCH] DHCPv6: Honor assigning IPv6 address based on MAC address

2020-04-21 Thread Geert Stappers
t is no garantee 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 Stapp

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

2020-04-30 Thread Geert Stappers
/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] 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 in

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 G

[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
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 somethi

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

2020-05-16 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] No forgetting logic when using hostsdir

2020-05-17 Thread Geert Stappers
> forget 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

Re: [Dnsmasq-discuss] dnsmasq and NXNSAttack

2020-05-20 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] 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

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

2020-05-21 Thread Geert Stappers
s 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 a

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

2020-05-21 Thread Geert Stappers
--git a/src/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] [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] 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] read /etc/hosts if DNS disabled

2020-05-21 Thread Geert Stappers
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"

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

2020-05-31 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 192.

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

2020-06-04 Thread Geert Stappers
n't take the 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 > >

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

2020-06-06 Thread Geert Stappers
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. > > > > > > > >

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

2020-06-06 Thread Geert Stappers
ot; What 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

[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

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 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

[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 --- a/d

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

Re: [Dnsmasq-discuss] broadcast address equals siaddr

2020-06-09 Thread Geert Stappers
0 > 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 --

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] Static leases issues

2020-06-09 Thread Geert Stappers
e responsability 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

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] 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] 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
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] How to store CNAME, MX, and other non-A/AAAA records in /etc/hosts?

2020-07-03 Thread Geert Stappers
t in 'addn-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 ___ D

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

2020-07-06 Thread Geert Stappers
er hand i also see that 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 sys

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

2020-07-07 Thread Geert Stappers
'dnsmasq --conf-file=' > 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

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

2020-07-11 Thread Geert Stappers
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 he

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 nixo

[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 in

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

2020-07-12 Thread Geert Stappers
you not > set 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

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

2020-07-16 Thread Geert Stappers
ion. If > 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

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

2020-07-20 Thread Geert Stappers
; > 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 lis

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

2020-07-23 Thread Geert Stappers
ocking/mapping 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 upn

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

2020-07-23 Thread Geert Stappers
gt; Am I doing 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] 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 > > >

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

2020-07-26 Thread Geert Stappers
laa_id.next = netid; > + netid = &laa_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

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

2020-07-26 Thread Geert Stappers
i/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 / mu

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

2020-07-26 Thread Geert Stappers
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'

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] Incorrect response for DNAME'd records in dnsmasq 2.80+

2020-07-29 Thread Geert Stappers
that are in the cache, 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 us

Re: [Dnsmasq-discuss] multiple upstream servers

2020-07-30 Thread Geert Stappers
server. > > 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] Mac Darwin confusion

2020-08-03 Thread Geert Stappers
RVER: 192.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 w

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] 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 mailin

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, 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 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:b

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] 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] how to configure two dnsmasq machines with only one for tftp

2020-08-13 Thread Geert Stappers
efi-x86,"efi32/syslinux.efi" > dhcp-boot=tag:bios,"bios/lpxelinux.0" > enable-tftp > tftp-root=/srv/tftp/ > tftp-secure > tftp-mtu=1332 To me too many possiblities to split. My advice: Just go for it (most likely you alread did ;-) Regards Geert Stapper

Re: [Dnsmasq-discuss] How to return a DHCP Option value which repeats DHCP Client MAC address ?

2020-08-19 Thread Geert Stappers
bar_123456789ab > instead of bar_0123456789ab). > } What it possible with dnsmasq 2.80 ? AIUI is the question if there is something that does expanding '${MAC_ADDRESS}' 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] Using dhcp-hosts for static entries

2020-08-22 Thread Geert Stappers
fix with "tag:" > May I add that with Debian Buster's 2.80, both lines bellow failed: > foo,1.2.3.4 > 1.2.3.4,bar More likely that "failed" means this time what is configured was not the complete configuration Groeten Geert Stappers [1] http

Re: [Dnsmasq-discuss] Using dhcp-hosts for static entries

2020-08-22 Thread Geert Stappers
New attempt On Sat, Aug 22, 2020 at 03:42:37PM +0200, Geert Stappers wrote: > On Sat, Aug 22, 2020 at 02:38:40PM +0200, Olivier wrote: > > Hello, > > > > I've discovered dhcp-hostsfile option. > > > > Is it possible to use this file as an alternative w

Re: [Dnsmasq-discuss] [PATCH] Re: RA-acquired address not marked as 'dynamic' with 2.82

2020-09-07 Thread Geert Stappers
> + if ((context->flags & CONTEXT_SETLEASE) && > + time < ((unsigned int)(2 * param->adv_interval))) ^ two > time = 3 * param->adv_interval;

Re: [Dnsmasq-discuss] Possible lease matching/reuse bug

2020-09-08 Thread Geert Stappers
th cases, and all 4 combinations are problematic. Obviously > with no hosts entry and no ip in dhcp-host dnsmaq has no way to know > what IP I want to assign, but all three other combinations have the > intermittent problem. Manual page snippet from http://thekelleys.org.uk/dnsmasq/docs/dnsmas

Re: [Dnsmasq-discuss] Possible lease matching/reuse bug

2020-09-09 Thread Geert Stappers
On Wed, Sep 09, 2020 at 12:32:37PM +0100, Jerome Vuarand wrote: > On Tue, 8 Sep 2020 at 12:59, Geert Stappers wrote: > >>>> dhcp-host=target > > > >>> 'dhcp-host=target,192.168.4.2' > > > > ??? > > > > Manual page sn

Re: [Dnsmasq-discuss] Possible lease matching/reuse bug

2020-09-10 Thread Geert Stappers
On Fri, Sep 11, 2020 at 03:12:34AM +0100, Jerome Vuarand wrote: > On Wed, 9 Sep 2020 at 17:36, Geert Stappers wrote: context, meanwhile lost > > > The client sends its hostname "target" which seems to be enough to > > > identify it and give it the

Re: [Dnsmasq-discuss] Avoid conflicts between dnsmasq and systemd-resolved.

2020-09-13 Thread Geert Stappers
Say, when > I do the following testing: > > $ dig www.baidu.com > > I always noticed that there will have multiple dnsmasq instances be > triggered automatically and the resolution will fail. > > So I want to know how to solve the confliction p

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

2020-09-14 Thread Geert Stappers
On Mon, Sep 14, 2020 at 11:23:44AM -0700, James Brown wrote: > That is fantastic, Dominick! > > I'm testing now, but in preliminary testing, this patch appears to fix the > DNAME issue for me. OK. Acknowledge. Thursday night (CEST, UTC+2) I'll retransmit the patch + "Tested-by" ___

Re: [Dnsmasq-discuss] Avoid conflicts between dnsmasq and systemd-resolved.

2020-09-15 Thread Geert Stappers
FallbackDNS servers (which are hardcoded in if not set explicitly). > What's the FallbackDNS servers and how can I find/list them? Good question. The "hardcoded" suggest it is in source code. Regards Geert Stappers -- Silence is hard to parse

Re: [Dnsmasq-discuss] Avoid conflicts between dnsmasq and systemd-resolved.

2020-09-16 Thread Geert Stappers
On Thu, Sep 17, 2020 at 07:25:43AM +0800, Hongyi Zhao wrote: > > But I still can't figure out what's the wrong configuration or > **bug** (may or may not exist, I'm not sure.) in dnsmasq itself > triggered this problem. Acknowledge ___ Dnsmasq-discuss

Re: [Dnsmasq-discuss] syntax for cname= unclear

2020-09-17 Thread Geert Stappers
record=hostname,hostname.dnsdomain,172.16.0.2,fd00:172:16::0323:45ff:feab:cdef > dhcp-host=01:23:45:ab:cd:ef,set:hostname,hostname,216000 ? > cname=cname1,hostname > cname=cname1.dnsdomain,hostname.dnsdomain > cname=cname2,hostname > cname=cname2.dnsdomain,hostname.dnsdomain Groet

Re: [Dnsmasq-discuss] Avoid conflicts between dnsmasq and systemd-resolved. DNS list

2020-09-17 Thread Geert Stappers
On Wed, Sep 16, 2020 at 04:16:40PM +0800, Hongyi Zhao wrote: > On Wed, Sep 16, 2020 at 3:06 PM Dominick C. Pastore wrote: > > On Wed, Sep 16, 2020, at 1:36 AM, Geert Stappers wrote: > > > > > I was a little surprised this one worked since the previous one > > >

Re: [Dnsmasq-discuss] DNS TTL && IPSET TIMEOUT

2020-09-17 Thread Geert Stappers
;\x06"}, {{nla_len=28, nla_type=0x2}, > "\x70\x31\x5f\x61\x66\x6b\x6c\x5f\x68\x74\x74\x70\x5f\x68\x74\x74\x70\x73\x5f\x74\x65\x73\x74\x00"}, > {{nla_len=32, nla_type=NLA_F_NESTED|0x7}, > "\x1c\x00\x01\x80\x08\x00\x01\x40\x5d\xbb\x0d\xc8\x10\x00\x06\x80\x0c\x00\x06\

[Dnsmasq-discuss] [PATCH] Fix bug where cached NXDOMAIN CNAMEs return NODATA

2020-09-17 Thread Geert Stappers
From: "Dominick C. Pastore" Non-terminal code from 2.80 was overzealously converting NXDOMAIN replies from upstream to NODATA when an NXDOMAIN A response was cached (and vice-versa). Commit 162e5e0 fixed this for most cases, but not when the NXDOMAIN response contained a CNAME. This fixes th

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

2020-09-17 Thread Geert Stappers
On Mon, Sep 14, 2020 at 10:41:32PM +0200, Geert Stappers wrote: > On Mon, Sep 14, 2020 at 11:23:44AM -0700, James Brown wrote: > > That is fantastic, Dominick! > > > > I'm testing now, but in preliminary testing, this patch appears to fix the > > DNAME issu

Re: [Dnsmasq-discuss] Avoid conflicts between dnsmasq and systemd-resolved.

2020-09-18 Thread Geert Stappers
hifen.com. > > ;; Query time: 36 msec > ;; SERVER: 127.0.0.1#53(127.0.0.1) Yes indeed port 53 > ;; WHEN: Fri Sep 18 08:03:37 CST 2020 > ;; MSG SIZE rcvd: 69 > > Regards, > HY 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 on an IPv4 /32 interface

2020-09-21 Thread Geert Stappers
was received > on an interface with only link-local addressing configured. > > Thanks in advance - I hope all this makes sense and look forward to > discussing it further with you. I think that discussion will go quickly silent when only one person can reproduce the challenge.

  1   2   3   4   5   6   7   8   >