summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorPaul Fertser <fercerpav@gmail.com>2021-09-24 14:57:38 +0300
committerSimon Kelley <simon@thekelleys.org.uk>2021-09-24 14:46:25 +0100
commitef2f8d70d22b817e1faf96efd42c61879e25c723 (patch)
treeb41e7c304e9da064c551db61153180f5ce674292 /man
parentd9995a1add30aed4d4d34fd58ae640c205e6cdd7 (diff)
downloaddnsmasq-ef2f8d70d22b817e1faf96efd42c61879e25c723.tar.gz
manpage: clarify tags: semantics for --dhcp-host
Mention that several tags can be specified and instruct the user that some other match must still be provided for the directive to have any effect.
Diffstat (limited to 'man')
-rw-r--r--man/dnsmasq.87
1 files changed, 5 insertions, 2 deletions
diff --git a/man/dnsmasq.8 b/man/dnsmasq.8
index f04ae13..a71610c 100644
--- a/man/dnsmasq.8
+++ b/man/dnsmasq.8
@@ -1037,7 +1037,7 @@ is also included, as described in RFC-3775 section 7.3.
tells dnsmasq to advertise the prefix without the on-link (aka L) bit set.
.TP
-.B \-G, --dhcp-host=[<hwaddr>][,id:<client_id>|*][,set:<tag>][tag:<tag>][,<ipaddr>][,<hostname>][,<lease_time>][,ignore]
+.B \-G, --dhcp-host=[<hwaddr>][,id:<client_id>|*][,set:<tag>][,tag:<tag>][,<ipaddr>][,<hostname>][,<lease_time>][,ignore]
Specify per host parameters for the DHCP server. This allows a machine
with a particular hardware address to be always allocated the same
hostname, IP address and lease time. A hostname specified like this
@@ -1136,7 +1136,10 @@ ignore requests from unknown machines using
If the host matches only a \fB--dhcp-host\fP directive which cannot
be used because it specifies an address on different subnet, the tag "known-othernet" is set.
-The tag:<tag> construct filters which dhcp-host directives are used. Tagged directives are used in preference to untagged ones.
+The tag:<tag> construct filters which dhcp-host directives are used; more than
+one can be provided, in this case the request must match all of them. Tagged
+directives are used in preference to untagged ones. Note that one of <hwaddr>,
+<client_id> or <hostname> still needs to be specified (can be a wildcard).
Ethernet addresses (but not client-ids) may have
wildcard bytes, so for example