From 589509a665ae9e70546ce35c17d97eb69554147d Mon Sep 17 00:00:00 2001 From: Daniel Stinebaugh Date: Wed, 14 Mar 2018 10:01:28 -0700 Subject: [PATCH] Added the option for Quad9 DNS Adding option 7 to include the Fast and Secure DNS offering from quad9.net --- openvpn-install.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/openvpn-install.sh b/openvpn-install.sh index ee420ca..f737835 100644 --- a/openvpn-install.sh +++ b/openvpn-install.sh @@ -212,6 +212,7 @@ else echo " 4) NTT" echo " 5) Hurricane Electric" echo " 6) Verisign" + echo " 7) Quad 9" read -p "DNS [1-6]: " -e -i 1 DNS echo "" echo "Finally, tell me your name for the client certificate" @@ -303,6 +304,9 @@ ifconfig-pool-persist ipp.txt" > /etc/openvpn/server.conf echo 'push "dhcp-option DNS 64.6.64.6"' >> /etc/openvpn/server.conf echo 'push "dhcp-option DNS 64.6.65.6"' >> /etc/openvpn/server.conf ;; + 5) + echo 'push "dhcp-option DNS 9.9.9.9"' >> /etc/openvpn/server.conf + ;; esac echo "keepalive 10 120 cipher AES-256-CBC