diff --git a/openvpn-install.sh b/openvpn-install.sh index 98ffd1d..68a0bb0 100644 --- a/openvpn-install.sh +++ b/openvpn-install.sh @@ -190,8 +190,9 @@ if [[ ! -e /etc/openvpn/server/server.conf ]]; then echo " 4) OpenDNS" echo " 5) Quad9" echo " 6) AdGuard" + echo " 7) custom" read -p "DNS server [1]: " dns - until [[ -z "$dns" || "$dns" =~ ^[1-6]$ ]]; do + until [[ -z "$dns" || "$dns" =~ ^[1-7]$ ]]; do echo "$dns: invalid selection." read -p "DNS server [1]: " dns done