1
0
Fork 0
mirror of https://github.com/Nyr/openvpn-install.git synced 2025-04-04 21:23:31 +03:00

Add DNS option 7 custom

This commit is contained in:
nsharief 2024-06-15 16:26:50 +01:00
parent e4a9a310eb
commit 1ffa3b1f7b

View file

@ -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