From: Stefano Brivio <sbrivio@redhat.com>
To: David Gibson <david@gibson.dropbear.id.au>
Cc: passt-dev@passt.top
Subject: Re: [PATCH] conf: Add --dns-host option to configure host side nameserver
Date: Wed, 9 Oct 2024 10:21:51 +0200 [thread overview]
Message-ID: <20241009102151.652453de@elisabeth> (raw)
In-Reply-To: <20241003051402.2548424-1-david@gibson.dropbear.id.au>
On Thu, 3 Oct 2024 15:14:02 +1000
David Gibson <david@gibson.dropbear.id.au> wrote:
> When redirecting DNS queries with the --dns-forward option, passt/pasta
> needs a host side nameserver to redirect the queries to. This is
> controlled by the c->ip[46].dns_host variables. This is set to the first
> first nameserver listed in the host's /etc/resolv.conf, and there isn't
> currently a way to override it from the command line.
>
> Prior to 0b25cac9 ("conf: Treat --dns addresses as guest visible
> addresses") it was possible to alter this with the -D/--dns option.
> However, doing so was confusing and had some nonsensical edge cases because
> -D generally takes guest side addresses, rather than host side addresses.
>
> Add a new --dns-host option to restore this functionality in a more
> sensible way.
>
> Link: https://bugs.passt.top/show_bug.cgi?id=102
>
> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Applied.
--
Stefano
prev parent reply other threads:[~2024-10-09 8:21 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-03 5:14 [PATCH] conf: Add --dns-host option to configure host side nameserver David Gibson
2024-10-09 8:21 ` Stefano Brivio [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=20241009102151.652453de@elisabeth \
--to=sbrivio@redhat.com \
--cc=david@gibson.dropbear.id.au \
--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).