public inbox for passt-dev@passt.top
 help / color / mirror / code / Atom feed
From: Andrea Bolognani <abologna@redhat.com>
To: Stefano Brivio <sbrivio@redhat.com>
Cc: passt-dev@passt.top
Subject: Re: [PATCH 0/3] Allow non-127.0.0.1 loopback address as host resolver
Date: Thu, 23 Feb 2023 09:53:38 -0800	[thread overview]
Message-ID: <CABJz62O=U7FFU=PnapwA09e4f1-wr+jpk5xXAwR8u3UWCd4xuQ@mail.gmail.com> (raw)
In-Reply-To: <20230223170800.3888094-1-sbrivio@redhat.com>

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 <abologna@redhat.com>

-- 
Andrea Bolognani / Red Hat / Virtualization


      parent reply	other threads:[~2023-02-23 17:53 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-23 17:07 [PATCH 0/3] Allow non-127.0.0.1 loopback address as host resolver Stefano Brivio
2023-02-23 17:07 ` [PATCH 1/3] udp: Actually use host resolver to forward DNS queries Stefano Brivio
2023-02-27 12:02   ` David Gibson
2023-02-23 17:07 ` [PATCH 2/3] conf: Split add_dns{4,6}() out of get_dns() Stefano Brivio
2023-02-27 12:04   ` David Gibson
2023-02-23 17:08 ` [PATCH 3/3] conf, udp: Allow any loopback address to be used as resolver Stefano Brivio
2023-02-27 12:07   ` David Gibson
2023-02-23 17:53 ` Andrea Bolognani [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CABJz62O=U7FFU=PnapwA09e4f1-wr+jpk5xXAwR8u3UWCd4xuQ@mail.gmail.com' \
    --to=abologna@redhat.com \
    --cc=passt-dev@passt.top \
    --cc=sbrivio@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://passt.top/passt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for IMAP folder(s).