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:
parent
e4a9a310eb
commit
1ffa3b1f7b
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue