Re: [Dnsmasq-discuss] Is there some way I can tell dnsmasq to give a negative reply to any IPv6 query?

2021-09-23 Thread Trey Sis
Hey Rick, On 9/24/2021 4:05, Rick Thomas wrote: You are right. It is a mis-config. If you have the time and interest, I'd appreciate any help you (or the list) can give on correcting the mis-config... Here's the story: As noted, my ISP does not provide IPv6 and has no plans to provide it

Re: [Dnsmasq-discuss] Is there some way I can tell dnsmasq to give a negative reply to any IPv6 query?

2021-09-23 Thread Rick Thomas
You are right. It is a mis-config. If you have the time and interest, I'd appreciate any help you (or the list) can give on correcting the mis-config... Here's the story: As noted, my ISP does not provide IPv6 and has no plans to provide it in the future. I've emailed their technical help

Re: [Dnsmasq-discuss] [BUG] [PATCH] Segmentation fault in src/forward.c

2021-09-23 Thread Simon Kelley
On 23/09/2021 18:16, Petr Menšík wrote: > I am quite sure also --rebind-domain-ok is broken. It allocates struct > serv_local, but does not set any flags if I saw it correctly. Therefore > it would be later threated as struct server and checked in wrong places. Those structures are kept on a

Re: [Dnsmasq-discuss] config error is REFUSED (EDE: not ready) since v2.86

2021-09-23 Thread Dominik Derigs
On Thu, 2021-09-23 at 11:00 +0100, Simon Kelley wrote: > I just pushed a pretty straightforward patch to fix this. Can confirm this fixes it. Best, Dominik ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk

Re: [Dnsmasq-discuss] Upstream servers by host tag (or MAC)

2021-09-23 Thread Hubert FONGARNAND via Dnsmasq-discuss
Hi Michael, It works, i've created a docker-compose project with two dnsmasq instance, each one listening on one ethernet alias. I've disabled dchp on the children instance. Thanks for the advice! Hubert. Le 23/09/2021 à 18:43, Michael a écrit : On 9/23/21 04:35, Petr Menšík wrote: Hi

Re: [Dnsmasq-discuss] Upstream servers by host tag (or MAC)

2021-09-23 Thread Geoff Back
On 23/09/2021 17:43, Michael wrote: > On 9/23/21 04:35, Petr Menšík wrote: >> Hi Hubert, >> >> it may work, if you would run two dnsmasq instances. One for children >> with OpenDNS as upstream servers, another for everyone else. >> >> default instance: >> >> bind-interfaces >>

Re: [Dnsmasq-discuss] [BUG] [PATCH] Segmentation fault in src/forward.c

2021-09-23 Thread Petr Menšík
I am quite sure also --rebind-domain-ok is broken. It allocates struct serv_local, but does not set any flags if I saw it correctly. Therefore it would be later threated as struct server and checked in wrong places. That is still unfixed even after commit de372d6914ae20a1f9997815f258efbf3b14c39b.

Re: [Dnsmasq-discuss] Upstream servers by host tag (or MAC)

2021-09-23 Thread Michael
On 9/23/21 04:35, Petr Menšík wrote: Hi Hubert, it may work, if you would run two dnsmasq instances. One for children with OpenDNS as upstream servers, another for everyone else. default instance: bind-interfaces listen-address=10.1.0.1 server=8.8.8.8 domain=home.arpa

Re: [Dnsmasq-discuss] config error is REFUSED (EDE: not ready) since v2.86

2021-09-23 Thread Jean-Philippe Lambert
Hi Simon, Thank you for the patch, and the explanation. Best, Jean-Philippe Le 23/09/2021 à 12:00, Simon Kelley a écrit : Apologies all. The --address=/#/.. functionality got omitted in the 2.86 domain-search rewrite, which explains everything. Treating # as a domain name, it doesn't

Re: [Dnsmasq-discuss] Upstream servers by host tag (or MAC)

2021-09-23 Thread Petr Menšík
Hi Hubert, it may work, if you would run two dnsmasq instances. One for children with OpenDNS as upstream servers, another for everyone else. default instance: bind-interfaces listen-address=10.1.0.1 server=8.8.8.8 domain=home.arpa dhcp-option=option:dns-server,10.1.0.1,8.8.8.8

Re: [Dnsmasq-discuss] [BUG] [PATCH] Segmentation fault in src/forward.c

2021-09-23 Thread Simon Kelley
On 22/09/2021 23:07, Petr Menšík wrote: > Good catch. A new bug #2006367 [1] were also reported on Fedora. It > seems to point to related structures and memory corruption in them. I > have no coredump to check it (yet), so mostly guessing. > > Juggling with type unsafe structures with few

Re: [Dnsmasq-discuss] config error is REFUSED (EDE: not ready) since v2.86

2021-09-23 Thread Simon Kelley
Apologies all. The --address=/#/.. functionality got omitted in the 2.86 domain-search rewrite, which explains everything. Treating # as a domain name, it doesn't match the test domain, so dnsmasq tries to forward upstream. There are no upstream servers configured, so it returns REFUSED. I

Re: [Dnsmasq-discuss] [PATCH] Correctly warn if dynamic directory is not a directory

2021-09-23 Thread Simon Kelley
Applied. Thanks. Cheers, Simon. On 22/09/2021 14:36, Dominik Derigs wrote: > When users specify a file (instead of a directory) as argument of > hostsdir, dnsmasq will log: > >> dnsmasq: bad dynamic directory hosts: Success > > because stat() didn't fail for this file, however, the test >

[Dnsmasq-discuss] Is there some way I can tell dnsmasq to give a negative reply to any IPv6 query?

2021-09-23 Thread Rick Thomas
My ISP does not support IPv6 at all. Recently I have been having trouble connecting (web and/or ssh) to hosts outside of my local home LAN that have both IPv4 and IPv6 addresses. For example: rbthomas@monk:~$ host www.google.com www.google.com has address 142.251.33.68