From b5481fed35b75679d29b390da972c2f4c97844ab Mon Sep 17 00:00:00 2001 From: DL6ER Date: Mon, 13 Nov 2023 09:21:37 +0100 Subject: [PATCH] Add dns.expandHosts and move the two strongly correlated setting into their own box Signed-off-by: DL6ER --- settings-dns.lp | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/settings-dns.lp b/settings-dns.lp index 85c9d84b..5250df9e 100644 --- a/settings-dns.lp +++ b/settings-dns.lp @@ -166,7 +166,7 @@ mg.include('scripts/pi-hole/lua/settings_header.lp','r')
-

Advanced DNS settings

+

DNS domain settings

@@ -175,11 +175,25 @@ mg.include('scripts/pi-hole/lua/settings_header.lp','r')
Domain
- +

The DNS domains for your Pi-hole. If no domain is specified and you are using Pi-hole's DHCP server, then any hostnames with a domain part (i.e., with a period) will be disallowed. If a domain is specified, then hostnames with a domain parts matching the domain here are allowed. In addition, when a suffix is set then hostnames without a domain part have the suffix added as an optional domain part.

+
+ + +

If set, the domain is added to simple names (without a period) in /etc/hosts in the same way as for DHCP-derived names.

+
+
+
+ +
+
+

Advanced DNS settings

+
+
+