Re: [Dnsmasq-discuss] How may is too many CNAME references?

2021-09-28 Thread Ercolino de Spiacico
Ok understood and very valid answer. Let's remember one thing the (excellent) dnsmasq is extremely common in small routers and embedded devices where permanent storage is often not available. I am ok sticking to address= syntax so working on A records only but I was wondering if dnsmasq

Re: [Dnsmasq-discuss] dnsmasq compile error: rfc1035.c:978:56: error: 'struct dnsmasq_daemon' has no member named 'workspacename'

2021-09-28 Thread John Thomson
On Mon, 27 Sep 2021, at 20:21, Patrick Vorlicek wrote: > make[5]: Entering directory > '/root/openwrt/ea8500/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/dnsmasq-full/dnsmasq-2.86/src' > arm-openwrt-linux-muslgnueabi-gcc -Os -pipe -fno-caller-saves -fno-plt > -fhonour-copts

Re: [Dnsmasq-discuss] [PATCH] Two small fixes

2021-09-28 Thread Dominik Derigs
Hey Petr and Simon, On Mon, 2021-09-27 at 23:03 +0100, Simon Kelley wrote: > Petr, this code seems to have last been touched by you, in > > ad59f278c6234a416f36dfdd39143bb46f5d707a > > can you remember what that was supposed to achieve? None of it is > making > much sense to me. Looks like we

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

2021-09-28 Thread Simon Kelley
Which dnsmasq version are you using? Simon. On 28/09/2021 00:41, E wrote: >> https://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/2021q3/015348.html >> It can block any name by using --address=/blockedname/::1. > > What I want to do: > 1. Block requests. (at first I want to block

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

2021-09-28 Thread Shrenik Bhura
Hi Petr, As per your guidance, we have enabled logging (LOG_ALL in config/consolle.h) and recompiled the ipxe binaries. Below are the latest observations. Taking down the scenarios from the previous post for ease of reference - 1. Default dnsmasq config with default ltsp's pxe-service entries -

[Dnsmasq-discuss] What actually happens when dnsmasq is installed on a system running systemd (with systemd-resolved)?

2021-09-28 Thread Chris Green
I run xubuntu version 21.04 on several systems. Thus the default DNS cache and configuring of /etc/resolv.conf is done by systemd and its minions. Does anyone here know what happens if/when I install dnsmasq? Is the installation process clever enough to reconfigure and/or turn off the right

Re: [Dnsmasq-discuss] REFUSED after dropped packets

2021-09-28 Thread Johannes Stezenbach
On Mon, Sep 27, 2021 at 10:45:25PM +0100, Simon Kelley wrote: > > I think that this is a 2.86 problem. There are two cases when dnsmasq > will try another server with the same query: > > 1) When a client retries the query. > 2) When the first server returns REFUSED. > > In the second case, it's

Re: [Dnsmasq-discuss] dnsmasq compile error: rfc1035.c:978:56: error: 'struct dnsmasq_daemon' has no member named 'workspacename'

2021-09-28 Thread John Thomson
Hi Simon, On Tue, 28 Sep 2021, at 22:45, Simon Kelley wrote: > This is a dnsmasq bug. I just pushed the fix to the git repo. Thank you for the fast fix. > Question. Is there a simple way to install libubus on Ubuntu or Debian? > I have a script which tests a large m=number of plausible

Re: [Dnsmasq-discuss] dnsmasq compile error: rfc1035.c:978:56: error: 'struct dnsmasq_daemon' has no member named 'workspacename'

2021-09-28 Thread Simon Kelley
On 28/09/2021 10:36, John Thomson wrote: > On Mon, 27 Sep 2021, at 20:21, Patrick Vorlicek wrote: >> make[5]: Entering directory >> '/root/openwrt/ea8500/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/dnsmasq-full/dnsmasq-2.86/src' >> arm-openwrt-linux-muslgnueabi-gcc -Os -pipe

Re: [Dnsmasq-discuss] What actually happens when dnsmasq is installed on a system running systemd (with systemd-resolved)?

2021-09-28 Thread Simon Kelley
On 28/09/2021 20:28, Chris Green wrote: > I run xubuntu version 21.04 on several systems. Thus the default DNS > cache and configuring of /etc/resolv.conf is done by systemd and its > minions. > > Does anyone here know what happens if/when I install dnsmasq? Is the > installation process clever

Re: [Dnsmasq-discuss] Is it possible to merge host names on two Dnsmasq instances?

2021-09-28 Thread Glen Huang
Thanks for the quick reply. This is a good idea. However, some of the devices use unqualified names as their host names and I have no control over them, and it seems I wouldn't be able to differentiate them in this way. Regards, Glen > On Sep 29, 2021, at 10:56 AM, Andrew Miskell wrote: > >

[Dnsmasq-discuss] Is it possible to merge host names on two Dnsmasq instances?

2021-09-28 Thread Glen Huang
Hi, I have a router and a dump AP that are connected with a wire. The router has two interfaces, one is for LAN (192.168.1.1/24) and the other for WAN. The AP also has two interfaces, one is for LAN (192.168.1.2/24), the other for guest WiFi (192.168.2.1/24). (It actually also has a LAN WiFi,

Re: [Dnsmasq-discuss] Is it possible to merge host names on two Dnsmasq instances?

2021-09-28 Thread Andrew Miskell via Dnsmasq-discuss
> On Sep 28, 2021, at 9:16 PM, Glen Huang wrote: > > Hi, > > I have a router and a dump AP that are connected with a wire. The router has > two interfaces, one is for LAN (192.168.1.1/24) and the other for WAN. The AP > also has two interfaces, one is for LAN (192.168.1.2/24), the other for