0){ ?> 0){ ?>

Networking

Warning: PHP has been compiled without IPv6 support.

0 && $piHoleIPv6 != "unknown") { if(substr($piHoleIPv6, 0, 4) != "fe80") { $usingipv6 = true; } } if(isset($setupVars["DHCP_ACTIVE"])) { if($setupVars["DHCP_ACTIVE"] == 1) { $DHCP = true; } else { $DHCP = false; } // Read setings from config file $DHCPstart = $setupVars["DHCP_START"]; $DHCPend = $setupVars["DHCP_END"]; $DHCProuter = $setupVars["DHCP_ROUTER"]; // This setting has been added later, we have to check if it exists if(isset($setupVars["DHCP_LEASETIME"])) { $DHCPleasetime = $setupVars["DHCP_LEASETIME"]; if(strlen($DHCPleasetime) < 1) { // Fallback if empty string $DHCPleasetime = 24; } } else { $DHCPleasetime = 24; } if(isset($setupVars["DHCP_IPv6"])) { $DHCPIPv6 = $setupVars["DHCP_IPv6"]; } else { $DHCPIPv6 = $usingipv6; } } else { $DHCP = false; // Try to guess initial settings if($piHoleIPv4 !== "unknown") { $DHCPdomain = explode(".",$piHoleIPv4); $DHCPstart = $DHCPdomain[0].".".$DHCPdomain[1].".".$DHCPdomain[2].".201"; $DHCPend = $DHCPdomain[0].".".$DHCPdomain[1].".".$DHCPdomain[2].".251"; $DHCProuter = $DHCPdomain[0].".".$DHCPdomain[1].".".$DHCPdomain[2].".1"; } else { $DHCPstart = ""; $DHCPend = ""; $DHCProuter = ""; } $DHCPleasetime = 24; $DHCPIPv6 = $usingipv6; } if(isset($setupVars["PIHOLE_DOMAIN"])){ $piHoleDomain = $setupVars["PIHOLE_DOMAIN"]; } else { $piHoleDomain = "local"; } ?>

Pi-Hole DHCP Server

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

From
disabled>
To
disabled>
Router
disabled>

Advanced DHCP settings

Domain
disabled>
Lease time in hours
disabled>

Hint: 0 = infinite, 24 = one day, 168 = one week, 744 = one month, 8760 = one year

unknown"; } $clid = $line[4]; if($clid == "*") { $clid = "unknown"; } array_push($dhcp_leases,["TIME"=>$time, "hwaddr"=>$line[1], "IP"=>$line[2], "host"=>$host, "clid"=>$clid, "type"=>$type]); } } ?>

DHCP leases


Remaining lease time:
DHCP UID: ">
IP address Hostname

Upstream DNS Servers

$value) { ?>
checked>
value="">
$value) { ?>
checked>
value="">

Advanced DNS settings

Note that enabling these two options may increase your privacy slightly, but may also prevent you from being able to access local hostnames if the Pi-Hole is not used as DHCP server

Query Logging (size of log )

Current status: Enabled (recommended) Disabled

Note that disabling will render graphs on the web user interface useless

API

Top Lists

Exclude the following domains from being shown in

Reverse DNS lookup

Try to determine the domain name via querying the Pi-hole for

Query Log

Privacy mode

Web User Interface

Query Log Page
*/ ?>

Interface appearance

CPU Temperature Unit

Blocking Page

Show page with details if a site is blocked

If Yes: Hide content for in page ads?

*/ ?>

System Administration