Pull request: DHCP: upd

Merge in DNS/adguard-home-wiki from 2393-autohost-dhcp to master

Squashed commit of the following:

commit c51f778f1bfca1aca777a1eb09a89519a481d002
Author: Ainar Garipov <A.Garipov@AdGuard.COM>
Date:   Fri Mar 26 13:00:14 2021 +0300

    DHCP: imp

commit 620085f8c39023ab0306bf72233d7f7180df82a0
Author: Ainar Garipov <A.Garipov@AdGuard.COM>
Date:   Fri Mar 26 12:58:40 2021 +0300

    DHCP: upd
Ainar Garipov 2021-03-26 13:00:46 +03:00
parent 22a9a97af7
commit 7311264e63
1 changed files with 7 additions and 8 deletions

15
DHCP.md

@ -110,12 +110,11 @@ the clients to choose between SLAAC and DHCPv6.
## <a id="autohosts" href="#autohosts">Automatic Hosts</a>
You can reach machines in the network more easily using the hostnames they send
in the DHCP requests with the `.lan` top-level domain. For example, if you have
a machine called “workstation” in the network, and it sends a DHCP request with
option 12 set to `workstation`, you can reach it over HTTP on the host
`http://workstation.lan`.
Machines in the network can be reached more easily using the hostnames they send
in the DHCP requests with a configurable top-level domain (TLD). By default,
the TLD is `lan`. For example, if you have a machine called “workstation” in
the network, and it sends a DHCP request with option 12 set to `workstation`,
you can reach it over HTTP on the host `http://workstation.lan`.
Configuring custom TLDs instead of the `.lan` one is planned, see issue [#2393].
[#2393]: https://github.com/AdguardTeam/AdGuardHome/issues/2393
You can also set a custom TLD using the `dns.autohost_tld` field in the
[configuration] file.