From 8729316513b7cad457906f399b1cd173a1045c55 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Wed, 29 Jan 2020 11:52:02 +0100 Subject: [PATCH] convert-dns-settings: Explicitely enable using ISP name servers The unbound initscript checks if this parameter is on. Signed-off-by: Michael Tremer --- src/scripts/convert-dns-settings | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/scripts/convert-dns-settings b/src/scripts/convert-dns-settings index 23d76ec889..11efc7cba8 100755 --- a/src/scripts/convert-dns-settings +++ b/src/scripts/convert-dns-settings @@ -58,9 +58,9 @@ main() { # Empty the old settings file : > /var/ipfire/dns/settings - # Disable using ISP name servers when we already have some configured - if [ ${i} -gt 3 ]; then - echo "USE_ISP_NAMESERVERS=off" \ + # Enable using ISP name servers when no servers are configured + if [ ${i} -eq 3 ]; then + echo "USE_ISP_NAMESERVERS=on" \ >> /var/ipfire/dns/settings fi fi -- 2.39.5