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

Simon Kelley simon at thekelleys.org.uk
Thu Sep 23 10:00:36 UTC 2021


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 just pushed a pretty straightforward patch to fix this.

Cheers,

Simon.



On 22/09/2021 14:50, Jean-Philippe Lambert wrote:
> Hi Dominik,
> 
> Thank you for trying.
> 
> Le 22/09/2021 à 14:05, Dominik Derigs a écrit :
>> Hey Jean-Philippe,
>>
>> The config is different in your two tries, but I guess this is
>> just a typo.
> 
> Yes.
> 
>>
>> Anyway, I repeated your test on latest master and it is still
>> showing the same as v2.86.
>>
> 
> Yes, on my side too. Going back, I noticed that v2.85 is the last that
> still works for me.
> 
>> On Wed, 2021-09-22 at 12:29 +0200, Jean-Philippe Lambert wrote:
>>> Is this a bug
>>
>> I guess so and it is likely linked to
>>
>> On Wed, 2021-09-22 at 12:29 +0200, Jean-Philippe Lambert wrote:
>>> dnsmasq: warning: no upstream servers configured
>>
> 
> But I precisely do not want an other server to answer, as I would like
> to redirect all traffic... I get the same result when adding --local='/#/'
> 
>> $ sudo ./bin/dnsmasq  --no-daemon --log-queries=extra --log-debug 
>> --listen-address=127.0.0.1 --address='/#/127.0.0.1' --no-hosts
>> --no-resolv --local='/#/'
>> Password:
>> dnsmasq: started, version 2.86 cachesize 150
>> dnsmasq: compile time options: IPv6 GNU-getopt no-DBus no-UBus no-i18n
>> no-IDN DHCP DHCPv6 no-Lua TFTP no-conntrack no-ipset auth
>> no-cryptohash no-DNSSEC loop-detect no-inotify dumpfile
>> dnsmasq: setting --bind-interfaces option because of OS limitations
>> dnsmasq: warning: no upstream servers configured
>> dnsmasq: using only locally-known addresses for #
>> dnsmasq: cleared cache
>> dnsmasq: 1 127.0.0.1/64713 query[A] a.com from 127.0.0.1
>> dnsmasq: 1 127.0.0.1/64713 config error is REFUSED (EDE: not ready)
> 
> 
> 
> Best,
> 
> Jean-Philippe
> 
> _______________________________________________
> Dnsmasq-discuss mailing list
> Dnsmasq-discuss at lists.thekelleys.org.uk
> https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss



More information about the Dnsmasq-discuss mailing list