Add support for Quad9 secure dns server

See www.quad9.net
This commit is contained in:
Terror 2017-11-17 15:54:04 +13:00 committed by GitHub
parent f63267a7f9
commit eb9c44a347
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -764,6 +764,7 @@ setDNS() {
Norton "" Norton ""
Comodo "" Comodo ""
DNSWatch "" DNSWatch ""
Quad9 ""
Custom "") Custom "")
# In a whiptail dialog, show the options # In a whiptail dialog, show the options
DNSchoices=$(whiptail --separate-output --menu "Select Upstream DNS Provider. To use your own, select Custom." ${r} ${c} 6 \ DNSchoices=$(whiptail --separate-output --menu "Select Upstream DNS Provider. To use your own, select Custom." ${r} ${c} 6 \
@ -805,6 +806,10 @@ setDNS() {
PIHOLE_DNS_1="84.200.69.80" PIHOLE_DNS_1="84.200.69.80"
PIHOLE_DNS_2="84.200.70.40" PIHOLE_DNS_2="84.200.70.40"
;; ;;
Quad9)
echo "Quad9 servers"
PIHOLE_DNS_1="9.9.9.9"
;;
Custom) Custom)
# Until the DNS settings are selected, # Until the DNS settings are selected,
until [[ "${DNSSettingsCorrect}" = True ]]; do until [[ "${DNSSettingsCorrect}" = True ]]; do