[Pkg-utopia-maintainers] Bug#929010: Bug#929010: Bug#929010: avahi-daemon: /etc/network/if-post-down.d/avahi-daemon is slow on eth0

Vincent Lefevre vincent at vinc17.net
Thu May 16 15:37:12 BST 2019


On 2019-05-16 16:25:01 +0200, Michael Biebl wrote:
> What happens, if you only list your local 127.0.0.1 in /etc/resolv.conf?

See my other mail, i.e. no problems. FYI, I use 192.168.1.1 just
as a fallback.

> Well, the assumption that /usr/lib/avahi/avahi-daemon-check-dns.sh makes
> is, that if a local resolver is configured in /etc/resolv.conf, then it
> is safe to assume that host lookup can be done, even if there is not
> default route (== network access).

This assumption is not correct. One can use a local resolver for
plenty of reasons.

If you assume that this is safe because the local resolver will
not hang with a timeout (which is the case with unbound), then
you should make sure that *only* the local resolver will be used.

-- 
Vincent Lefèvre <vincent at vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)



More information about the Pkg-utopia-maintainers mailing list