Pull request: DHCP: doc new opts
Merge in DNS/adguard-home-wiki from 2385-dhcp-opt to master Squashed commit of the following: commit 9ba4442733f32bb54bd20e4d1ae76341a78b2b4e Author: Ainar Garipov <A.Garipov@AdGuard.COM> Date: Tue Mar 16 18:02:40 2021 +0300 DHCP: fix typo commit 34eaa5ec75e798e1052088bcf0dca64a1d77c23c Author: Ainar Garipov <A.Garipov@AdGuard.COM> Date: Tue Mar 16 17:46:16 2021 +0300 DHCP: doc new opts
parent
fb203d19ad
commit
1138fa195c
27
DHCP.md
27
DHCP.md
|
@ -72,7 +72,31 @@ use:
|
||||||
- '6 ip 1.2.3.4'
|
- '6 ip 1.2.3.4'
|
||||||
```
|
```
|
||||||
|
|
||||||
An easier format for multiple IP addresses is planned, see issue [#2385].
|
The `ips` format (since **v0.106.0**) is the same, but with comma-separated
|
||||||
|
IP-addresses:
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
# …
|
||||||
|
'dhcp':
|
||||||
|
# …
|
||||||
|
'dhcpv4':
|
||||||
|
# …
|
||||||
|
'options':
|
||||||
|
- '6 ips 1.2.3.4,5.6.7.8'
|
||||||
|
```
|
||||||
|
|
||||||
|
The `text` format (since **v0.106.0**) allows you to put arbitrary UTF-8 text as
|
||||||
|
the option data. For example:
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
# …
|
||||||
|
'dhcp':
|
||||||
|
# …
|
||||||
|
'dhcpv4':
|
||||||
|
# …
|
||||||
|
'options':
|
||||||
|
- '252 text http://example.com'
|
||||||
|
```
|
||||||
|
|
||||||
### <a id="config-6" href="#config-6">DHCPv6 Options</a>
|
### <a id="config-6" href="#config-6">DHCPv6 Options</a>
|
||||||
|
|
||||||
|
@ -82,7 +106,6 @@ clients to use SLAAC. The DHCPv6 server won't be started in this case.
|
||||||
The option `dhcp.dhcpv6.ra_allow_slaac`, if `true`, sends RA packets allowing
|
The option `dhcp.dhcpv6.ra_allow_slaac`, if `true`, sends RA packets allowing
|
||||||
the clients to choose between SLAAC and DHCPv6.
|
the clients to choose between SLAAC and DHCPv6.
|
||||||
|
|
||||||
[#2385]: https://github.com/AdguardTeam/AdGuardHome/issues/2385
|
|
||||||
[configuration]: https://github.com/AdguardTeam/AdGuardHome/wiki/Configuration
|
[configuration]: https://github.com/AdguardTeam/AdGuardHome/wiki/Configuration
|
||||||
|
|
||||||
## <a id="autohosts" href="#autohosts">Automatic Hosts</a>
|
## <a id="autohosts" href="#autohosts">Automatic Hosts</a>
|
||||||
|
|
Loading…
Reference in New Issue