Pull request 165: AG-20352-leases-db
Merge in GO/adguard-home-wiki from AG-20352-leases-db to master Squashed commit of the following: commit a4df580471d51ce07e4dc30c6914b54a9f38ffb6 Merge: 7b427f4 84ee18c Author: Stanislav Chzhen <s.chzhen@adguard.com> Date: Tue Apr 18 15:11:32 2023 +0300 Merge branch 'master' into AG-20352-leases-db commit 7b427f47704340a8ec0a22c41c69b1ddbb8e8ece Author: Stanislav Chzhen <s.chzhen@adguard.com> Date: Mon Apr 17 16:59:55 2023 +0300 DHCP: imp note commit 09f671381070d492a14343f142601bd2f48e2430 Author: Stanislav Chzhen <s.chzhen@adguard.com> Date: Mon Apr 17 16:47:56 2023 +0300 DHCP: add file format note commit 16e3b077d94640c005aea8ebce37dd0426fe220b Author: Stanislav Chzhen <s.chzhen@adguard.com> Date: Mon Apr 17 15:37:01 2023 +0300 all: upd leases db
parent
84ee18c0ac
commit
9c70993472
8
DHCP.md
8
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.
|
||||
|
||||
|
||||
|
||||
## <a id="storedleases" href="#storedleases">Stored leases</a>
|
||||
|
||||
DHCP leases stored in `data/leases.json`. The file format is not stable and
|
||||
may change in the future releases.
|
||||
|
|
4
FAQ.md
4
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:
|
||||
|
|
Loading…
Reference in New Issue