[Dnsmasq-discuss] dnsmasq in docker container

Dominik Derigs dl6er at dl6er.de
Sun Aug 25 11:02:36 UTC 2024


FWIW, the Pi-hole project embeds dnsmasq without any special docker alterations and is known to work fine in docker without restarting for months or even years non-stop without such issues.

Also worth considering are issues with docker-proxy - maybe the interface goes down temporarily and the configuration is to bind to the interface instead of to the wildcard address, or ...

Many possibilities and the more we know, the better. I really doubt there is anything systematic concerning dnsmasq in docker but rather something related to the particular container or the particular configuration.

Best,
Dominik


>Am 25. August 2024 12:21:27 MESZ schrieb Dimitry Andric <dimitry at unified-streaming.com>:
>>On 25 Aug 2024, at 11:07, Danil Smirnov <danil.smirnov at gmail.com> wrote:
>>> 
>>> There is some evidence on the Internet that dnsmasq doesn't play well with Docker (when run in a Docker container), i.e.:
>>> 
>>> https://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/2021q4/015909.html
>>> https://www.reddit.com/r/homelab/comments/1d7w3l9/struggling_to_diagnose_irregular_hangs_with/
>>> https://github.com/dockur/dnsmasq/issues/7
>>> 
>>> I have also faced the same issue - after some hours/days, dnsmasq becomes irresponsive and can't be fixed by e.g. docker kill --signal=SIGHUP, but only by the container restart. Memory consumption didn't grow and no errors/warnings were found in the logs.
>>> 
>>> Are there any suspects we can consider and start checking how to fix?
>>
>>Has anybody ever attached a debugger to such a hanging instance? Or at the least run an strace on it?
>>
>>Because without more information it is very unlikely that the root cause will be found.
>>
>>-Dimitry
>>
>>
>>_______________________________________________
>>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