Another DNS option, for added diversity
This commit is contained in:
parent
0ee2753717
commit
b584bed3a5
|
@ -135,7 +135,7 @@ function pihole_change_upstream_dns {
|
||||||
data=$(tempfile 2>/dev/null)
|
data=$(tempfile 2>/dev/null)
|
||||||
trap "rm -f $data" 0 1 2 5 15
|
trap "rm -f $data" 0 1 2 5 15
|
||||||
dialog --backtitle $"Ad Blocker Upstream DNS" \
|
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 \
|
1 $"Digital Courage" on \
|
||||||
2 $"German Privacy Foundation 1" off \
|
2 $"German Privacy Foundation 1" off \
|
||||||
3 $"German Privacy Foundation 2" off \
|
3 $"German Privacy Foundation 2" off \
|
||||||
|
@ -152,7 +152,8 @@ function pihole_change_upstream_dns {
|
||||||
14 $"ValiDOM" off \
|
14 $"ValiDOM" off \
|
||||||
15 $"Freie Unzensierte" off \
|
15 $"Freie Unzensierte" off \
|
||||||
16 $"DNS.Watch" off \
|
16 $"DNS.Watch" off \
|
||||||
17 $"Google" off 2> $data
|
17 $"uncensoreddns.org" off \
|
||||||
|
18 $"Google" off 2> $data
|
||||||
sel=$?
|
sel=$?
|
||||||
case $sel in
|
case $sel in
|
||||||
1) exit 1;;
|
1) exit 1;;
|
||||||
|
@ -207,7 +208,10 @@ function pihole_change_upstream_dns {
|
||||||
16) PIHOLE_DNS1='84.200.69.80'
|
16) PIHOLE_DNS1='84.200.69.80'
|
||||||
PIHOLE_DNS2='84.200.70.40'
|
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'
|
PIHOLE_DNS2='4.4.4.4'
|
||||||
;;
|
;;
|
||||||
255) exit 1;;
|
255) exit 1;;
|
||||||
|
|
Loading…
Reference in New Issue