From c27b321ea0d9612645f356d664aef318e57248b4 Mon Sep 17 00:00:00 2001 From: Amin Khoshnood Date: Fri, 12 Jul 2019 12:31:42 +0300 Subject: [PATCH] Add Quad9 DNS support - https://www.quad9.net - https://en.wikipedia.org/wiki/Quad9 --- openvpn-install.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/openvpn-install.sh b/openvpn-install.sh index 136e7d9..26f2e57 100644 --- a/openvpn-install.sh +++ b/openvpn-install.sh @@ -204,6 +204,7 @@ else echo " 3) Google" echo " 4) OpenDNS" echo " 5) Verisign" + echo " 6) Quad9 DNS" read -p "DNS [1-5]: " -e -i 1 DNS echo echo "Finally, tell me your name for the client certificate." @@ -297,6 +298,9 @@ ifconfig-pool-persist ipp.txt" > /etc/openvpn/server/server.conf echo 'push "dhcp-option DNS 64.6.64.6"' >> /etc/openvpn/server/server.conf echo 'push "dhcp-option DNS 64.6.65.6"' >> /etc/openvpn/server/server.conf ;; + 6) + echo 'push "dhcp-option DNS 9.9.9.9"' >> /etc/openvpn/server/server.conf + ;; esac echo "keepalive 10 120 cipher AES-256-CBC