mirror of
https://github.com/pi-hole/web.git
synced 2024-12-06 19:36:21 +01:00
@@ -112,11 +112,21 @@ function validDomain($domain_name)
|
||||
// Check if domain-needed is requested
|
||||
if(isset($_POST["DNSbogusPriv"]))
|
||||
{
|
||||
$extra .= "bogus-priv";
|
||||
$extra .= "bogus-priv ";
|
||||
}
|
||||
else
|
||||
{
|
||||
$extra .= "no-bogus-priv";
|
||||
$extra .= "no-bogus-priv ";
|
||||
}
|
||||
|
||||
// Check if DNSSEC is requested
|
||||
if(isset($_POST["DNSSEC"]))
|
||||
{
|
||||
$extra .= "dnssec";
|
||||
}
|
||||
else
|
||||
{
|
||||
$extra .= "no-dnssec";
|
||||
}
|
||||
|
||||
// If there has been no error we can save the new DNS server IPs
|
||||
|
||||
@@ -411,6 +411,19 @@
|
||||
} else {
|
||||
$DNSbogusPriv = true;
|
||||
}
|
||||
|
||||
if(isset($setupVars["DNSSEC"])){
|
||||
if($setupVars["DNSSEC"])
|
||||
{
|
||||
$DNSSEC = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
$DNSSEC = false;
|
||||
}
|
||||
} else {
|
||||
$DNSSEC = false;
|
||||
}
|
||||
?>
|
||||
<div class="box box-warning">
|
||||
<div class="box-header with-border">
|
||||
@@ -459,6 +472,10 @@
|
||||
<div class="checkbox"><label><input type="checkbox" name="DNSbogusPriv" <?php if($DNSbogusPriv){ ?>checked<?php } ?> title="bogus-priv"> never forward reverse lookups for private IP ranges</label></div>
|
||||
</div>
|
||||
<p>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</p>
|
||||
<div class="form-group">
|
||||
<div class="checkbox"><label><input type="checkbox" name="DNSSEC" <?php if($DNSSEC){ ?>checked<?php } ?>> Use DNSSEC</label></div>
|
||||
</div>
|
||||
<p>Validate DNS replies and cache DNSSEC data. When forwarding DNS queries, Pi-hole requests the DNSSEC records needed to validate the replies. Use Google or Norton DNS servers when activating DNSSEC. Note that the size of your log might increase significantly when enabling DNSSEC. A DNSSEC resolver test can be found <a href="http://dnssec.vs.uni-due.de/" target="_blank">here</a>.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user