From e1ca33cd0fa3071e26c8dc4eec71c69c6398b2d5 Mon Sep 17 00:00:00 2001 From: DL6ER Date: Fri, 1 Dec 2023 12:46:28 +0100 Subject: [PATCH] Add support for adding multiple reverse servers Signed-off-by: DL6ER --- settings-dns.lp | 34 +++------------------------------- 1 file changed, 3 insertions(+), 31 deletions(-) diff --git a/settings-dns.lp b/settings-dns.lp index 5250df9e..da85d16b 100644 --- a/settings-dns.lp +++ b/settings-dns.lp @@ -59,7 +59,7 @@ mg.include('scripts/pi-hole/lua/settings_header.lp','r')
-

Conditional forwarding

+

Conditional forwarding

@@ -87,36 +87,8 @@ mg.include('scripts/pi-hole/lua/settings_header.lp','r') in your DHCP server for this to work. You can likely find it within the DHCP settings.

Enabling Conditional Forwarding will also forward all hostnames (i.e., non-FQDNs) to the router when "Never forward non-FQDNs" is not enabled.

-
-
- - -
-
- - - - - - - - - - - - - - - -
Local network in CIDR notationIP address of your DHCP server (router)Local domain name (optional)
- - - - - -
-
-
+

The following list contains all reverse servers you want to add. The expected format is one server per line in form of <enabled>,<ip-address>[/<prefix-len>],<server>[#<port>][,<domain>]. A valid config line could look like true,192.168.0.0/24,192.168.0.1,fritz.box

+