Document suppressing deafult options in --dhcp-option.

This commit is contained in:
Simon Kelley
2023-03-06 13:06:03 +00:00
parent 137ae2e9cf
commit 7d6b68c5d7

View File

@@ -1299,6 +1299,14 @@ or
The special address 0.0.0.0 is taken to mean "the address of the
machine running dnsmasq".
An option without data is valid, and includes just the option without data.
(There is only one option with a zero length data field currently defined for DHCPv4, 80:rapid commit, so this feature is not very useful in practice). Options for which dnsmasq normally
provides default values can be ommitted by defining the option with no data. These are
netmask, broadcast, router, DNS server, domainname and hostname. Thus, for DHCPv4
.B --dhcp-option = option:router
will result in no router option being sent, rather than the default of the host on which dnsmasq is running. For DHCPv6, the same is true of the options DNS server and refresh time.
Data types allowed are comma separated
dotted-quad IPv4 addresses, []-wrapped IPv6 addresses, a decimal number, colon-separated hex digits
and a text string. If the optional tags are given then