mirror of
https://github.com/pi-hole/pi-hole.git
synced 2024-11-14 18:32:55 +00:00
Print name of chosen upstream DNS as well
Signed-off-by: MichaIng <micha@dietpi.com>
This commit is contained in:
parent
ea67c828cd
commit
85673b8273
1 changed files with 3 additions and 1 deletions
|
@ -1071,7 +1071,9 @@ setDNS() {
|
|||
fi
|
||||
|
||||
# Display final selection
|
||||
printf " %b Using upstream DNS: %s %s\\n" "${INFO}" "${PIHOLE_DNS_1}" "${PIHOLE_DNS_2}"
|
||||
local DNSIP=${PIHOLE_DNS_1}
|
||||
[[ -z ${PIHOLE_DNS_2} ]] || DNSIP+=", ${PIHOLE_DNS_2}"
|
||||
printf " %b Using upstream DNS: %s (%s)\\n" "${INFO}" "${DNSchoices}" "${DNSIP}"
|
||||
}
|
||||
|
||||
# Allow the user to enable/disable logging
|
||||
|
|
Loading…
Reference in a new issue