From e185698445acc8fd98b20ca0c33b47fcd39158e4 Mon Sep 17 00:00:00 2001 From: Angristan Date: Mon, 26 Jun 2017 02:37:41 +0200 Subject: [PATCH] Use current system resolvers as default That makes more sense that putting French servers. What is in /etc/resolv.conf is not always good, but most of the time it's the hoster's or something nearby. Thus it makes more sense for the user to use them by default. --- openvpn-install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openvpn-install.sh b/openvpn-install.sh index 925d652..1c8a13a 100644 --- a/openvpn-install.sh +++ b/openvpn-install.sh @@ -209,14 +209,14 @@ else done echo "" echo "What DNS do you want to use with the VPN?" - echo " 1) Current system resolvers (/etc/resolv.conf)" + echo " 1) Current system resolvers (in /etc/resolv.conf)" echo " 2) FDN (France)" echo " 3) DNS.WATCH (Germany)" echo " 4) OpenDNS (Anycast: worldwide)" echo " 5) Google (Anycast: worldwide)" echo " 6) Yandex Basic (Russia)" while [[ $DNS != "1" && $DNS != "2" && $DNS != "3" && $DNS != "4" && $DNS != "5" ]]; do - read -p "DNS [1-5]: " -e -i 2 DNS + read -p "DNS [1-5]: " -e -i 1 DNS done echo "" echo "See https://github.com/Angristan/OpenVPN-install#encryption to learn more about "