aboutgitcodebugslistschat
diff options
context:
space:
mode:
authorStefano Brivio <sbrivio@redhat.com>2024-03-12 19:17:50 +0100
committerStefano Brivio <sbrivio@redhat.com>2024-03-14 08:18:09 +0100
commit0761f29a143a455562788c250309bfe42b61417d (patch)
tree02406ca5fa394d8e472b60b0064160d54dc52f39
parent4d05ba2c58cd6e314f07fbb569c1d05efb12ba46 (diff)
downloadpasst-0761f29a143a455562788c250309bfe42b61417d.tar
passt-0761f29a143a455562788c250309bfe42b61417d.tar.gz
passt-0761f29a143a455562788c250309bfe42b61417d.tar.bz2
passt-0761f29a143a455562788c250309bfe42b61417d.tar.lz
passt-0761f29a143a455562788c250309bfe42b61417d.tar.xz
passt-0761f29a143a455562788c250309bfe42b61417d.tar.zst
passt-0761f29a143a455562788c250309bfe42b61417d.zip
passt.1: --{no-,}dhcp-dns and --{no-,}dhcp-search don't take addresses
...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>
-rw-r--r--passt.18
1 files 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