diff options
author | glenn wolfe <glenn.wolfe@protonmail.com> | 2020-12-08 03:54:17 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-08 10:54:17 +0100 |
commit | 88ae1c0d0f5d4f48252fd3be27b2f122e40edf83 (patch) | |
tree | cb16772bc7f48822c9b44fbf9af2605431f8359a | |
parent | af935850cd233843c910cb1877294c4ac6115b9c (diff) |
Update AdGuard default public DNS addresses (#162)
- Since September 2020, AdGuard public DNS servers have moved to new
address. See here - https://adguard.com/en/blog/adguard-dns-new-addresses.html
-rw-r--r-- | wireguard-install.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/wireguard-install.sh b/wireguard-install.sh index cd0b5e0..fe7177b 100644 --- a/wireguard-install.sh +++ b/wireguard-install.sh @@ -99,10 +99,10 @@ function installQuestions() { # Adguard DNS by default until [[ ${CLIENT_DNS_1} =~ ^((25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$ ]]; do - read -rp "First DNS resolver to use for the clients: " -e -i 176.103.130.130 CLIENT_DNS_1 + read -rp "First DNS resolver to use for the clients: " -e -i 94.140.14.14 CLIENT_DNS_1 done until [[ ${CLIENT_DNS_2} =~ ^((25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$ ]]; do - read -rp "Second DNS resolver to use for the clients (optional): " -e -i 176.103.130.131 CLIENT_DNS_2 + read -rp "Second DNS resolver to use for the clients (optional): " -e -i 94.140.15.15 CLIENT_DNS_2 if [[ ${CLIENT_DNS_2} == "" ]]; then CLIENT_DNS_2="${CLIENT_DNS_1}" fi |