From 2e7d4311f16fec0244977045da442ebf0bce1130 Mon Sep 17 00:00:00 2001 From: DL6ER Date: Fri, 10 Feb 2023 20:30:40 +0100 Subject: [PATCH] Simplify DHCP settings page Signed-off-by: DL6ER --- settings.php | 148 ++++++++++++++++++++++++--------------------------- 1 file changed, 69 insertions(+), 79 deletions(-) diff --git a/settings.php b/settings.php index a73f4e65..2e6c6cb0 100644 --- a/settings.php +++ b/settings.php @@ -518,98 +518,88 @@ if (isset($_GET['tab']) && in_array($_GET['tab'], array('sysadmin', 'dns', 'dhcp
-
+

DHCP Settings

-
-

-

Make sure your router's DHCP server is disabled when using the Pi-hole DHCP server!

-
-
-
-
- -
-
-
-
-
From
- +
+
+
+
+

Make sure your router's DHCP server is disabled when using the Pi-hole DHCP server!


  +
+
+ +
+
+
+
+
From
+ +
+
+
+
+
+
+
To
+ +
+
+
+
+ +
+
+
Router
+ +
+
+
+
+
 
-
-
-
-
To
- +
+
+
+ +
+
+
Domain
+ +
+
+
+
+ +
+
+
Lease time
+ +
+
+

The lease time can be in seconds, minutes (e.g., "45m"), hours (e.g., "1h"), days (like "2d"), or even weeks ("1w"). You may also use "infinite" as string but be aware of the drawbacks: assigned addresses are will only be made available again after the lease time has passed or when leases are manually deleted below.

+
+
+
 
-
-
- -
-
-
Router
- -
-
-
-
-
-
-
- -
-
-
-

Advanced DHCP settings

-
-
-
-
- -
-
-
Domain
- -
-
-
-
-
-
- -
-
-
Lease time
- -
-
-

The lease time can be in seconds, or minutes (e.g., "45m") or hours (e.g., "1h") or days (like "2d") or even weeks ("1w"). You may also use "infinite" as string but be aware of the drawbacks (assigned addresses are will only be made available again after the lease time has passed).

-
-
-
-
-
 
-
 
-
-