From 2338e63384ae2e9d8eabe8e84752afac99ce8a91 Mon Sep 17 00:00:00 2001 From: hedy kim <47586500+waltzbucks@users.noreply.github.com> Date: Tue, 6 Oct 2020 17:39:32 +0900 Subject: [PATCH] Add COMODO Secure DNS server Add COMODO Secure DNS server 8.26.56.26, 8.20.247.20 https://www.comodo.com/secure-dns/ --- openvpn-install.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/openvpn-install.sh b/openvpn-install.sh index 1f0df4e..f407382 100644 --- a/openvpn-install.sh +++ b/openvpn-install.sh @@ -182,6 +182,7 @@ if [[ ! -e /etc/openvpn/server/server.conf ]]; then echo " 4) OpenDNS" echo " 5) Quad9" echo " 6) AdGuard" + echo " 7) COMODO" read -p "DNS server [1]: " dns until [[ -z "$dns" || "$dns" =~ ^[1-6]$ ]]; do echo "$dns: invalid selection." @@ -313,6 +314,10 @@ server 10.8.0.0 255.255.255.0" > /etc/openvpn/server/server.conf echo 'push "dhcp-option DNS 94.140.14.14"' >> /etc/openvpn/server/server.conf echo 'push "dhcp-option DNS 94.140.15.15"' >> /etc/openvpn/server/server.conf ;; + 7) + echo 'push "dhcp-option DNS 8.26.56.26"' >> /etc/openvpn/server/server.conf + echo 'push "dhcp-option DNS 8.20.247.20"' >> /etc/openvpn/server/server.conf + ;; esac echo "keepalive 10 120 cipher AES-256-CBC