From: Stefano Brivio <sbrivio@redhat.com>
To: Noah Gold <nkgold@google.com>
Cc: David Gibson <david@gibson.dropbear.id.au>, passt-dev@passt.top
Subject: Re: Improved handling of changing DNS resolvers
Date: Wed, 25 Jan 2023 18:55:06 +0100 [thread overview]
Message-ID: <20230125185506.7b5462ca@elisabeth> (raw)
In-Reply-To: <Y84nHTYdUK7RZYyo@yekko>
On Mon, 23 Jan 2023 17:20:13 +1100
David Gibson <david@gibson.dropbear.id.au> wrote:
> On Sat, Jan 21, 2023 at 10:47:03AM +0100, Stefano Brivio wrote:
> > Hi Noah,
> >
> > Sorry for the delay, I didn't check pending mailing list posts for a
> > couple of days. Comments below:
> >
> > On Tue, 17 Jan 2023 11:50:50 -0800
> > Noah Gold <nkgold@google.com> wrote:
> >
> > > Hi folks,
> > >
> > > libslirp and Passt have different approaches to sharing DNS resolvers with
> > > the guest system, each with their own benefits & drawbacks. On the libslirp
> > > project, we're discussing [1] how to support DNS failover. Passt already has
> > > support for this, but there is a drawback to its solution which prevents us
> > > from taking a similar approach: the resolvers are read exactly once, so if the
> > > host changes networks at runtime, the guest will not receive the updated
> > > resolvers and thus its connectivity will break.
>
> So, passt/pasta kinda-sorta binds itself to a particular host
> interface, so DNS won't be the only issue if the host changes
> network. For one thing, at least by default the guest gets the same
> IP as the host, so if the host IP changes the guest will get out of
> sync. We'll mostly cope with that ok, but there will be some edge
> cases which will break (most obviously if after the network change the
> guest wants to talk to something at the host's old address / its
> current address).
Noah, by the way, if your usage for DNS failover is related to a
virtual machine being migrated to another host with different
addressing, mind that you could simply tell qemu to connect to a new
instance of passt. That's something you can't do with libslirp.
Would that solve your problem, or your issue is specifically related to
DNS failover without any VM migration playing a role?
--
Stefano
next prev parent reply other threads:[~2023-01-25 17:55 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-01-17 18:51 Improved handling of changing DNS resolvers Noah Gold
2023-01-21 9:47 ` Stefano Brivio
2023-01-23 6:20 ` David Gibson
2023-01-25 17:55 ` Stefano Brivio [this message]
2023-01-31 0:11 ` Noah Gold
2023-02-02 11:09 ` Stefano Brivio
2023-02-14 2:45 ` Noah Gold
2023-02-14 15:06 ` Stefano Brivio
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=20230125185506.7b5462ca@elisabeth \
--to=sbrivio@redhat.com \
--cc=david@gibson.dropbear.id.au \
--cc=nkgold@google.com \
--cc=passt-dev@passt.top \
/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).