Bob Mottram 7 лет назад
Родитель
Сommit
f5ddd9ce48
1 измененных файлов: 7 добавлений и 3 удалений
  1. 7
    3
      src/freedombone-app-pihole

+ 7
- 3
src/freedombone-app-pihole Просмотреть файл

135
     data=$(tempfile 2>/dev/null)
135
     data=$(tempfile 2>/dev/null)
136
     trap "rm -f $data" 0 1 2 5 15
136
     trap "rm -f $data" 0 1 2 5 15
137
     dialog --backtitle $"Ad Blocker Upstream DNS" \
137
     dialog --backtitle $"Ad Blocker Upstream DNS" \
138
-           --radiolist $"Pick a domain name service (DNS):" 27 50 18 \
138
+           --radiolist $"Pick a domain name service (DNS):" 28 50 19 \
139
            1 $"Digital Courage" on \
139
            1 $"Digital Courage" on \
140
            2 $"German Privacy Foundation 1" off \
140
            2 $"German Privacy Foundation 1" off \
141
            3 $"German Privacy Foundation 2" off \
141
            3 $"German Privacy Foundation 2" off \
153
            15 $"Freie Unzensierte" off \
153
            15 $"Freie Unzensierte" off \
154
            16 $"DNS.Watch" off \
154
            16 $"DNS.Watch" off \
155
            17 $"uncensoreddns.org" off \
155
            17 $"uncensoreddns.org" off \
156
-           18 $"Google" off 2> $data
156
+           18 $"Lorraine Data Network" off \
157
+           19 $"Google" off 2> $data
157
     sel=$?
158
     sel=$?
158
     case $sel in
159
     case $sel in
159
         1) exit 1;;
160
         1) exit 1;;
211
         17) PIHOLE_DNS1='91.239.100.100'
212
         17) PIHOLE_DNS1='91.239.100.100'
212
             PIHOLE_DNS2='89.233.43.71'
213
             PIHOLE_DNS2='89.233.43.71'
213
             ;;
214
             ;;
214
-        18) PIHOLE_DNS1='8.8.8.8'
215
+        18) PIHOLE_DNS1='80.67.188.188'
216
+            PIHOLE_DNS2='89.234.141.66'
217
+            ;;
218
+        19) PIHOLE_DNS1='8.8.8.8'
215
             PIHOLE_DNS2='4.4.4.4'
219
             PIHOLE_DNS2='4.4.4.4'
216
             dialog --title $"WARNING" \
220
             dialog --title $"WARNING" \
217
                    --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
221
                    --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