From f5ddd9ce480732299fc95d3a9e5e3c77ae56505a Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sun, 15 Oct 2017 10:51:49 +0100 Subject: [PATCH] Another dns resolver --- src/freedombone-app-pihole | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/src/freedombone-app-pihole b/src/freedombone-app-pihole index fa095ae3..0ce715a0 100755 --- a/src/freedombone-app-pihole +++ b/src/freedombone-app-pihole @@ -135,7 +135,7 @@ function pihole_change_upstream_dns { data=$(tempfile 2>/dev/null) trap "rm -f $data" 0 1 2 5 15 dialog --backtitle $"Ad Blocker Upstream DNS" \ - --radiolist $"Pick a domain name service (DNS):" 27 50 18 \ + --radiolist $"Pick a domain name service (DNS):" 28 50 19 \ 1 $"Digital Courage" on \ 2 $"German Privacy Foundation 1" off \ 3 $"German Privacy Foundation 2" off \ @@ -153,7 +153,8 @@ function pihole_change_upstream_dns { 15 $"Freie Unzensierte" off \ 16 $"DNS.Watch" off \ 17 $"uncensoreddns.org" off \ - 18 $"Google" off 2> $data + 18 $"Lorraine Data Network" off \ + 19 $"Google" off 2> $data sel=$? case $sel in 1) exit 1;; @@ -211,7 +212,10 @@ function pihole_change_upstream_dns { 17) PIHOLE_DNS1='91.239.100.100' PIHOLE_DNS2='89.233.43.71' ;; - 18) PIHOLE_DNS1='8.8.8.8' + 18) PIHOLE_DNS1='80.67.188.188' + PIHOLE_DNS2='89.234.141.66' + ;; + 19) PIHOLE_DNS1='8.8.8.8' PIHOLE_DNS2='4.4.4.4' dialog --title $"WARNING" \ --msgbox $"\nGoogle's main purpose for providing DNS resolvers is to spy upon people and know which sites they are visiting.\n\nThis is something to consider, and you should only really be using Google DNS as a last resort if other resolvers are unavailable." 12 60