From 1ffa3b1f7b5cfaa27a00b3f5834eddd2d1a1449c Mon Sep 17 00:00:00 2001 From: nsharief Date: Sat, 15 Jun 2024 16:26:50 +0100 Subject: [PATCH] Add DNS option 7 custom --- openvpn-install.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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