Another DNS option, for added diversity

This commit is contained in:
Bob Mottram 2017-10-15 10:18:39 +01:00
parent 0ee2753717
commit b584bed3a5
1 changed files with 7 additions and 3 deletions

View File

@ -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):" 26 50 17 \
--radiolist $"Pick a domain name service (DNS):" 27 50 18 \
1 $"Digital Courage" on \
2 $"German Privacy Foundation 1" off \
3 $"German Privacy Foundation 2" off \
@ -152,7 +152,8 @@ function pihole_change_upstream_dns {
14 $"ValiDOM" off \
15 $"Freie Unzensierte" off \
16 $"DNS.Watch" off \
17 $"Google" off 2> $data
17 $"uncensoreddns.org" off \
18 $"Google" off 2> $data
sel=$?
case $sel in
1) exit 1;;
@ -207,7 +208,10 @@ function pihole_change_upstream_dns {
16) PIHOLE_DNS1='84.200.69.80'
PIHOLE_DNS2='84.200.70.40'
;;
17) PIHOLE_DNS1='8.8.8.8'
17) PIHOLE_DNS1='91.239.100.100'
PIHOLE_DNS2='89.233.43.71'
;;
18) PIHOLE_DNS1='8.8.8.8'
PIHOLE_DNS2='4.4.4.4'
;;
255) exit 1;;