1
0
Fork 0
mirror of https://github.com/Nyr/openvpn-install.git synced 2025-04-05 05:33:30 +03:00

Add COMODO Secure DNS server

Add COMODO Secure DNS server 8.26.56.26, 8.20.247.20
https://www.comodo.com/secure-dns/
This commit is contained in:
hedy kim 2020-10-06 17:39:32 +09:00 committed by GitHub
parent 26e39cf4d7
commit 2338e63384
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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