[Dnsmasq-discuss] DNS recursion only works in debug mode

Matus UHLAR - fantomas uhlar at fantomas.sk
Tue Nov 1 19:10:12 UTC 2022


>On Mon, Oct 31, 2022 at 03:59:56PM +0100, Matus UHLAR - fantomas via Dnsmasq-discuss wrote:
>> I have upgraded my router which included upgrading dnsmasq 2.80 to 2.86.
>>
>> (Turris OS 5.4.4 based on openwrt 19 to 6.0.1 based on OpenWrt 21.02.05)
>>
>> in the current version, dnsmasq returns REFUSED for external lookups:

[...]

>> when I run dnsmasq with "-d" alias "--no-daemon" option, resolving works:

On 31.10.22 21:28, Geert Stappers via Dnsmasq-discuss wrote:
>Manual page says about the debug mode, among others, "don't change user
>id".  Idea / shoot in the dark:  The configuration file has 'user=foo'
>and user `foo` not allowed to connect to upstream name server.

this was the hint I needed, thanks.

and look like this was the culprit:

dnsmasq: reading /tmp/resolv.conf.d/resolv.conf.auto

...
drw-r--r--    2 root     root            60 Oct 31 14:27 /tmp/resolv.conf.d

changing permissions here did the job.

-- 
Matus UHLAR - fantomas, uhlar at fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Micro random number generator: 0, 0, 0, 4.33e+67, 0, 0, 0...



More information about the Dnsmasq-discuss mailing list