Re: [Dnsmasq-discuss] NXDOMAIN is sent instead of NODATA when querying for non-existent AAAA records

2021-08-05 Thread Andrew Miskell via Dnsmasq-discuss
> On Aug 5, 2021, at 2:45 PM, Simon Kelley wrote: > > > > On 05/08/2021 19:24, Wojtek Swiatek wrote: >> >> >> Le jeu. 5 août 2021 à 19:41, Simon Kelley > > a écrit : >> >>OK. The problem is here: using local addresses only for domain >>swtk.info

Re: [Dnsmasq-discuss] NXDOMAIN is sent instead of NODATA when querying for non-existent AAAA records

2021-08-05 Thread Simon Kelley
On 05/08/2021 19:24, Wojtek Swiatek wrote: > > > Le jeu. 5 août 2021 à 19:41, Simon Kelley > a écrit : > > OK. The problem is here: using local addresses only for domain > swtk.info > > That's an easy spot because I just fixed

Re: [Dnsmasq-discuss] [EXTERNAL] Re: Badly formatted "dhcp-boot=" line crashes dnsmsaq 2.85

2021-08-05 Thread Greg Wickham
Hi Matthias, The OS is CentOS 7.9 on x86_64 Today I tried to re-create the issue and as you found it wasn't reproducible. I had made substantial changes to the dnsmasq.conf since the issue was reported. I ran out of time today, but I'll have another go early next week and try to find the root

Re: [Dnsmasq-discuss] NXDOMAIN is sent instead of NODATA when querying for non-existent AAAA records

2021-08-05 Thread Wojtek Swiatek
Le jeu. 5 août 2021 à 19:41, Simon Kelley a écrit : > OK. The problem is here: using local addresses only for domain swtk.info > > That's an easy spot because I just fixed this particular combination. > > I guess you have something like > > local=/swtk.info/ > > and dnsmasq is using this to

Re: [Dnsmasq-discuss] NXDOMAIN is sent instead of NODATA when querying for non-existent AAAA records

2021-08-05 Thread Wojtek Swiatek
Thank you Simon for the follow-up. I use dnsmasq on a Ubiquity Edge router (ER-4), the version is root@ubnt:~# dnsmasq --version Dnsmasq version 2.78-23-g9e09429 Copyright (c) 2000-2017 Simon Kelley Compile time options: IPv6 GNU-getopt DBus i18n IDN DHCP DHCPv6 no-Lua TFTP conntrack ipset auth

Re: [Dnsmasq-discuss] NXDOMAIN is sent instead of NODATA when querying for non-existent AAAA records

2021-08-05 Thread Simon Kelley
There's lots of code in dnsmasq which tries to get this right. eg. forward upstream upstream replies with NXDOMAIN dnsmasq checks if it knows data for other record types like A and if so rewrites NXDOMAIN to NODATA. TLDR; We though of this, and we think it works correctly. If you've found