1
0
Fork 0
mirror of https://github.com/Nyr/openvpn-install.git synced 2025-04-05 05:33:30 +03:00

Added Cloudflare and primary ipv4

Added Cloudflare to line 188 and edited line 187 - 191 to have the primary ipv4 resolver for each entry.
This commit is contained in:
babywhale321 2022-08-04 04:25:00 +00:00 committed by GitHub
parent c0a3562f64
commit 304396e77f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -184,11 +184,11 @@ if [[ ! -e /etc/openvpn/server/server.conf ]]; then
echo
echo "Select a DNS server for the clients:"
echo " 1) Current system resolvers"
echo " 2) Google"
echo " 3) 1.1.1.1"
echo " 4) OpenDNS"
echo " 5) Quad9"
echo " 6) AdGuard"
echo " 2) Google 8.8.8.8"
echo " 3) Cloudflare 1.1.1.1"
echo " 4) OpenDNS 208.67.222.222"
echo " 5) Quad9 9.9.9.9"
echo " 6) AdGuard 94.140.14.14"
read -p "DNS server [1]: " dns
until [[ -z "$dns" || "$dns" =~ ^[1-6]$ ]]; do
echo "$dns: invalid selection."