From: Michael Tremer Date: Wed, 29 Jan 2020 10:52:02 +0000 (+0100) Subject: convert-dns-settings: Explicitely enable using ISP name servers X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8729316513b7cad457906f399b1cd173a1045c55;p=people%2Fms%2Fipfire-2.x.git convert-dns-settings: Explicitely enable using ISP name servers The unbound initscript checks if this parameter is on. Signed-off-by: Michael Tremer --- 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