On Thu, Feb 23, 2023 at 06:07:57PM +0100, Stefano Brivio wrote:
This series fixes an issue with DNS resolution reported by Andrea: if both guest and host use systemd-resolved, reachable at 127.0.0.53, we need to advertise a reachable address as DNS to the guest, which we already do, but also to map UDP packets for that address and port 53 to the original host resolver address.
Otherwise, DNS resolution doesn't work at all in the guest, with default options.
Stefano Brivio (3): udp: Actually use host resolver to forward DNS queries conf: Split add_dns{4,6}() out of get_dns() conf, udp: Allow any loopback address to be used as resolver
I haven't really looked at the changes, nor do I have any expectation
that I would understand them if I did, but applying this series takes
things from "kinda works, in some cases, at glacial speed, after
tweaking the configuration manually" to "works out of the box, with
reasonable speed and no noticeable issues" on my setup.
Thanks a lot for looking into it!
Tested-by: Andrea Bolognani