summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--usr/local/www/services_unbound.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/usr/local/www/services_unbound.php b/usr/local/www/services_unbound.php
index af7b649..158b3e2 100644
--- a/usr/local/www/services_unbound.php
+++ b/usr/local/www/services_unbound.php
@@ -115,6 +115,8 @@ if ($_POST) {
if (empty($_POST['active_interface'])) {
$input_errors[] = "One or more Network Interfaces must be selected for binding.";
+ } else if (!isset($config['system']['dnslocalhost']) && !in_array("lo0", $_POST['active_interface'])) {
+ $input_errors[] = "This system is configured to use the DNS Resolver as its DNS server, so Localhost must be selected in Network Interfaces.";
}
if (empty($_POST['outgoing_interface'])) {
OpenPOWER on IntegriCloud