diff --git a/DHCP.md b/DHCP.md index 9fbf076..777b08f 100644 --- a/DHCP.md +++ b/DHCP.md @@ -6,6 +6,7 @@ * [The `dhcp.dhcpv4.options` array field](#config-4) * [DHCPv6 options](#config-6) * [Automatic hosts](#autohosts) + * [Stored leases](#storedleases) AdGuard Home can be used as a DHCP server. This page describes how to do that. @@ -218,3 +219,10 @@ you can reach it over HTTP on the host `http://workstation.lan`. You can also set a custom TLD or domain name using the `dns.local_domain_name` field in the [configuration] file. + + + +## Stored leases + +DHCP leases stored in `data/leases.json`. The file format is not stable and +may change in the future releases. diff --git a/FAQ.md b/FAQ.md index 90ea81f..b12bbb0 100644 --- a/FAQ.md +++ b/FAQ.md @@ -492,8 +492,6 @@ Linux and Windows for AMD64 CPUs. cp -r ./AdGuardHome.yaml ./data ~/my-agh-backup/ ``` - (Add `./leases.db` if it is present.) - 1. Unpack the AdGuard Home archive to a temporary directory. For example, if you downloaded the archive to your `~/Downloads` directory and want to unpack it to `/tmp/`: @@ -571,8 +569,6 @@ In all examples below, the PowerShell must be run as Administrator. Copy-Item -Path .\AdGuardHome.yaml, .\data -Destination $newDir -Recurse ``` - (Add `.\leases.db` if it is present.) - 1. Unpack the AdGuard Home archive to a temporary directory. For example, if you downloaded the archive to your `Downloads` directory and want to unpack it to a temporary directory: