public inbox for passt-dev@passt.top
 help / color / mirror / code / Atom feed
From: Jon Maloy <jmaloy@redhat.com>
To: Aditya Merchant <adityamerchant08@gmail.com>, passt-dev@passt.top
Cc: Stefano Brivio <sbrivio@redhat.com>,
	David Gibson <david@gibson.dropbear.id.au>,
	Paul Holzinger <pholzing@redhat.com>,
	Laurent Vivier <lvivier@redhat.com>
Subject: Re: [PATCH 1/3] passt.1: Say plainly which nameserver new DNS flows go to
Date: Fri, 4 Dec 2026 16:35:17 -0500	[thread overview]
Message-ID: <630659ac-efbe-4710-9df4-bd040667bef3@redhat.com> (raw)
In-Reply-To: <20261204073119.31027-2-adityamerchant08@gmail.com>



On 2026-12-04 02:31, Aditya Merchant wrote:
> Once resolv.conf changes, the description of --dns-host says that new
> DNS flows go to "its current first nameserver of the same IP version".
> It's not obvious that "its" refers to resolv.conf, and, if it does, it
> doesn't add anything. Say that they go to the first nameserver listed
> for each IP version instead.
> 
> Suggested-by: Stefano Brivio <sbrivio@redhat.com>
> Link: https://archives.passt.top/passt-dev/20261130013439.0a40738a@elisabeth/
> Signed-off-by: Aditya Merchant <adityamerchant08@gmail.com>
> ---
>   passt.1 | 4 ++--
>   1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/passt.1 b/passt.1
> index b3c0479..c743889 100644
> --- a/passt.1
> +++ b/passt.1
> @@ -288,8 +288,8 @@ Configure the host nameserver which guest or namespace queries to the
>   be specified zero to two times (once for IPv4, once for IPv6).
>   By default, the first nameserver from the host's
>   \fI/etc/resolv.conf\fR. In pasta mode, on Linux 5.12 or later, this
> -default follows changes to that file: new DNS flows go to its current
> -first nameserver of the same IP version, while existing flows keep their
> +default follows changes to that file: new DNS flows go to the first
> +nameserver listed for each IP version, while existing flows keep their
>   target until they expire.
>   
>   .TP

Reviewed-by: Jon Maloy <jmaloy@redhat.com>

  reply	other threads:[~2026-12-04 21:35 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-04  7:31 [PATCH 0/3] DNS forwarding: follow nameserver changes in passt mode too Aditya Merchant
2026-12-04  7:31 ` [PATCH 1/3] passt.1: Say plainly which nameserver new DNS flows go to Aditya Merchant
2026-12-04 21:35   ` Jon Maloy [this message]
2026-12-04  7:31 ` [PATCH 2/3] conf: Forget host nameserver once it's removed from resolv.conf Aditya Merchant
2026-12-04 22:15   ` Jon Maloy
2026-12-04 22:36     ` Stefano Brivio
2026-12-04  7:31 ` [PATCH 3/3] conf: Follow changes to the host nameserver in passt mode, too Aditya Merchant
2026-12-04 22:31 ` [PATCH 0/3] DNS forwarding: follow nameserver changes in passt mode too 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=630659ac-efbe-4710-9df4-bd040667bef3@redhat.com \
    --to=jmaloy@redhat.com \
    --cc=adityamerchant08@gmail.com \
    --cc=david@gibson.dropbear.id.au \
    --cc=lvivier@redhat.com \
    --cc=passt-dev@passt.top \
    --cc=pholzing@redhat.com \
    --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).