Add a scary warning if you choose Google DNS

This commit is contained in:
Bob Mottram 2017-10-15 10:25:23 +01:00
parent b584bed3a5
commit 45acf8738a
1 changed files with 2 additions and 0 deletions

View File

@ -213,6 +213,8 @@ function pihole_change_upstream_dns {
;;
18) 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
;;
255) exit 1;;
esac