diff --git a/settings.php b/settings.php index a032c9ee..1e7983ac 100644 --- a/settings.php +++ b/settings.php @@ -176,6 +176,13 @@ if (isset($setupVars["DNSMASQ_LISTENING"])) { } else { $DNSinterface = "single"; } +if (isset($setupVars["CONDITIONAL_FORWARDING"]) && ($setupVars["CONDITIONAL_FORWARDING"] == 1)) { + $conditionalForwarding = true; + $conditionalForwardingDomain = $setupVars["CONDITIONAL_FORWARDING_DOMAIN"]; + $conditionalForwardingIP = $setupVars["CONDITIONAL_FORWARDING_IP"]; +} else { + $conditionalForwarding = false; +} ?> here.

+ +

If not configured as your DHCP server Pi-Hole won't able to + determine the names of devices on your local network and tables + such as Top Clients will only show IP addresses. One solution + for this is to configure Pi-Hole to forward these requests to + your home router, but just for what's inside your home. To + configure this we will need to know the IP address of your + router and the name of your local network.

+

Note: The local domain name must match the domain name specified in your router.

+
+
+ +
+
+ + + + + + +
+
+ + + +
IP of your routerLocal domain name
+ value=""> + value=""> +
+
+