diff --git a/includes/dhcp.php b/includes/dhcp.php index 63b56831..26625416 100755 --- a/includes/dhcp.php +++ b/includes/dhcp.php @@ -59,6 +59,9 @@ function DisplayDHCPConfig() } } + if ($_POST['no-resolv'] == "1") { + $config .= "no-resolv".PHP_EOL; + } foreach ($_POST['server'] as $server) { $config .= "server=$server".PHP_EOL; } diff --git a/templates/dhcp.php b/templates/dhcp.php index 133e76dd..9088d155 100755 --- a/templates/dhcp.php +++ b/templates/dhcp.php @@ -88,6 +88,15 @@
+
+ + aria-describedby="no-resolv-description"> + +

+ send DNS queries to the servers configured below exclusively. By default RaspAP also uses its upstream DHCP server's name servers.") ?> +

+
+