mirror of
https://github.com/angristan/openvpn-install.git
synced 2024-11-22 00:39:03 +01:00
Merge pull request #688 from robiiinos/feat/secure-dns
Default DNS to AdGuard
This commit is contained in:
commit
e13141d859
@ -315,7 +315,7 @@ function installQuestions() {
|
|||||||
echo " 12) NextDNS (Anycast: worldwide)"
|
echo " 12) NextDNS (Anycast: worldwide)"
|
||||||
echo " 13) Custom"
|
echo " 13) Custom"
|
||||||
until [[ $DNS =~ ^[0-9]+$ ]] && [ "$DNS" -ge 1 ] && [ "$DNS" -le 13 ]; do
|
until [[ $DNS =~ ^[0-9]+$ ]] && [ "$DNS" -ge 1 ] && [ "$DNS" -le 13 ]; do
|
||||||
read -rp "DNS [1-12]: " -e -i 3 DNS
|
read -rp "DNS [1-12]: " -e -i 11 DNS
|
||||||
if [[ $DNS == 2 ]] && [[ -e /etc/unbound/unbound.conf ]]; then
|
if [[ $DNS == 2 ]] && [[ -e /etc/unbound/unbound.conf ]]; then
|
||||||
echo ""
|
echo ""
|
||||||
echo "Unbound is already installed."
|
echo "Unbound is already installed."
|
||||||
|
Loading…
Reference in New Issue
Block a user