From 0f2bd044479ce1b2dddfe3f81a5dcec73d57d8a8 Mon Sep 17 00:00:00 2001 From: Stanislas Date: Sat, 13 Dec 2025 19:32:07 +0100 Subject: [PATCH] feat: change default DNS resolver to Cloudflare (#1385) - Change default DNS resolver from AdGuard DNS to Cloudflare (1.1.1.1) - Applies to both interactive mode and AUTO_INSTALL mode --- openvpn-install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openvpn-install.sh b/openvpn-install.sh index 9859cf7..eb1fa80 100755 --- a/openvpn-install.sh +++ b/openvpn-install.sh @@ -671,7 +671,7 @@ function installQuestions() { log_menu " 12) NextDNS (Anycast: worldwide)" log_menu " 13) Custom" until [[ $DNS =~ ^[0-9]+$ ]] && [ "$DNS" -ge 1 ] && [ "$DNS" -le 13 ]; do - read -rp "DNS [1-13]: " -e -i 11 DNS + read -rp "DNS [1-13]: " -e -i 3 DNS if [[ $DNS == 2 ]] && [[ -e /etc/unbound/unbound.conf ]]; then log_menu "" log_prompt "Unbound is already installed." @@ -981,7 +981,7 @@ function installOpenVPN() { IPV6_SUPPORT=${IPV6_SUPPORT:-n} PORT_CHOICE=${PORT_CHOICE:-1} PROTOCOL_CHOICE=${PROTOCOL_CHOICE:-1} - DNS=${DNS:-1} + DNS=${DNS:-3} COMPRESSION_ENABLED=${COMPRESSION_ENABLED:-n} MULTI_CLIENT=${MULTI_CLIENT:-n} CUSTOMIZE_ENC=${CUSTOMIZE_ENC:-n}