mirror of
https://github.com/pi-hole/pi-hole.git
synced 2024-11-15 02:42:58 +00:00
Costmetic fixes, change DynDNS to OpenDNS
This commit is contained in:
parent
9412fe8a0a
commit
3fdf588cc9
1 changed files with 4 additions and 4 deletions
|
@ -279,9 +279,9 @@ setStaticIPv4() {
|
||||||
}
|
}
|
||||||
|
|
||||||
setDNS(){
|
setDNS(){
|
||||||
DNSChoseCmd=(whiptail --separate-output --radiolist "Select DNS Servers" $r $c 2)
|
DNSChoseCmd=(whiptail --separate-output --radiolist "Select Upstream DNS Provider" $r $c 2)
|
||||||
DNSChooseOptions=(Google "Use Google's DNS Servers" on
|
DNSChooseOptions=(Google "" on
|
||||||
DynDNS "Use DynDNS's DNS Servers" off)
|
OpenDNS "" off)
|
||||||
DNSchoices=$("${DNSChoseCmd[@]}" "${DNSChooseOptions[@]}" 2>&1 >/dev/tty)
|
DNSchoices=$("${DNSChoseCmd[@]}" "${DNSChooseOptions[@]}" 2>&1 >/dev/tty)
|
||||||
if [[ $? = 0 ]];then
|
if [[ $? = 0 ]];then
|
||||||
case $DNSchoices in
|
case $DNSchoices in
|
||||||
|
@ -291,7 +291,7 @@ setDNS(){
|
||||||
piholeDNS2="8.8.4.4"
|
piholeDNS2="8.8.4.4"
|
||||||
;;
|
;;
|
||||||
DynDNS)
|
DynDNS)
|
||||||
echo "::: Using DynDNS servers."
|
echo "::: Using OpenDNS servers."
|
||||||
piholeDNS1="208.67.222.222"
|
piholeDNS1="208.67.222.222"
|
||||||
piholeDNS2="208.67.220.220"
|
piholeDNS2="208.67.220.220"
|
||||||
;;
|
;;
|
||||||
|
|
Loading…
Reference in a new issue