diff options
author | yubiuser <ckoenig@posteo.de> | 2022-05-09 18:24:26 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-09 18:24:26 +0300 |
commit | 6d734549420246b088b04cc2d8f96bb577523f9a (patch) | |
tree | 9e161270fd94476c724059f807b68ec92efe1b59 | |
parent | 94cb0d0a7e317537d3b4d6e3923524b636250bef (diff) | |
parent | 2e2a3aa0482300320ead1ca7784da9eae06c256e (diff) |
Merge pull request #4718 from sed-i/patch-1
Add example for custom DNS server with port number
-rwxr-xr-x | automated install/basic-install.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/automated install/basic-install.sh b/automated install/basic-install.sh index 835f0efc..2ac713e8 100755 --- a/automated install/basic-install.sh +++ b/automated install/basic-install.sh @@ -946,7 +946,7 @@ setDNS() { fi # Prompt the user to enter custom upstream servers - piholeDNS=$(whiptail --backtitle "Specify Upstream DNS Provider(s)" --inputbox "Enter your desired upstream DNS provider(s), separated by a comma.\\n\\nFor example '8.8.8.8, 8.8.4.4'" "${r}" "${c}" "${prePopulate}" 3>&1 1>&2 2>&3) || \ + piholeDNS=$(whiptail --backtitle "Specify Upstream DNS Provider(s)" --inputbox "Enter your desired upstream DNS provider(s), separated by a comma. If you want to specify a port other than 53, separate it with a hash.\\n\\nFor example '8.8.8.8, 8.8.4.4' or '127.0.0.1#5335'" "${r}" "${c}" "${prePopulate}" 3>&1 1>&2 2>&3) || \ { printf " %bCancel was selected, exiting installer%b\\n" "${COL_LIGHT_RED}" "${COL_NC}"; exit 1; } # Clean user input and replace whitespace with comma. piholeDNS=$(sed 's/[, \t]\+/,/g' <<< "${piholeDNS}") |