Merge pull request #355 from pi-hole/DNSSEC

Add DNSSEC to web UI
This commit is contained in:
DL6ER
2017-01-12 21:40:23 +01:00
committed by GitHub
2 changed files with 29 additions and 2 deletions

View File

@@ -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