public inbox for passt-dev@passt.top
 help / color / mirror / code / Atom feed
From: David Gibson <david@gibson.dropbear.id.au>
To: Stefano Brivio <sbrivio@redhat.com>
Cc: passt-dev@passt.top
Subject: Re: [PATCH] passt.1: --{no-,}dhcp-dns and --{no-,}dhcp-search don't take addresses
Date: Thu, 14 Mar 2024 13:13:05 +1100	[thread overview]
Message-ID: <ZfJdMblJRtO8uK17@zatzit> (raw)
In-Reply-To: <20240312182126.510726-1-sbrivio@redhat.com>

[-- Attachment #1: Type: text/plain, Size: 2091 bytes --]

On Tue, Mar 12, 2024 at 07:21:26PM +0100, Stefano Brivio wrote:
> ...they are simple enable/disable options.
> 
> Fixes: 89678c515755 ("conf, udp: Introduce basic DNS forwarding")
> Signed-off-by: Stefano Brivio <sbrivio@redhat.com>

Reviewed-by: David Gibson <david@gibson.dropbear.id.au>

> ---
>  passt.1 | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/passt.1 b/passt.1
> index e97ef73..9c492f5 100644
> --- a/passt.1
> +++ b/passt.1
> @@ -237,28 +237,28 @@ list altogether (if you need to search a domain called "none" you can use
>  \fB--search none.\fR).
>  
>  .TP
> -.BR \-\-no-dhcp-dns " " \fIaddr
> +.BR \-\-no-dhcp-dns
>  In \fIpasst\fR mode, do not assign IPv4 addresses via DHCP (option 23) or IPv6
>  addresses via NDP Router Advertisement (option type 25) and DHCPv6 (option 23)
>  as DNS resolvers.
>  By default, all the configured addresses are passed.
>  
>  .TP
> -.BR \-\-dhcp-dns " " \fIaddr
> +.BR \-\-dhcp-dns
>  In \fIpasta\fR mode, assign IPv4 addresses via DHCP (option 23) or IPv6
>  addresses via NDP Router Advertisement (option type 25) and DHCPv6 (option 23)
>  as DNS resolvers.
>  By default, configured addresses, if any, are not passed.
>  
>  .TP
> -.BR \-\-no-dhcp-search " " \fIaddr
> +.BR \-\-no-dhcp-search
>  In \fIpasst\fR mode, do not send the DNS domain search list addresses via DHCP
>  (option 119), via NDP Router Advertisement (option type 31) and DHCPv6 (option
>  24).
>  By default, the DNS domain search list resulting from configuration is passed.
>  
>  .TP
> -.BR \-\-dhcp-search " " \fIaddr
> +.BR \-\-dhcp-search
>  In \fIpasta\fR mode, send the DNS domain search list addresses via DHCP (option
>  119), via NDP Router Advertisement (option type 31) and DHCPv6 (option 24).
>  By default, the DNS domain search list resulting from configuration is not

-- 
David Gibson			| I'll have my music baroque, and my code
david AT gibson.dropbear.id.au	| minimalist, thank you.  NOT _the_ _other_
				| _way_ _around_!
http://www.ozlabs.org/~dgibson

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

      reply	other threads:[~2024-03-14  2:17 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-12 18:21 [PATCH] passt.1: --{no-,}dhcp-dns and --{no-,}dhcp-search don't take addresses Stefano Brivio
2024-03-14  2:13 ` David Gibson [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=ZfJdMblJRtO8uK17@zatzit \
    --to=david@gibson.dropbear.id.au \
    --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).