mirror of
https://github.com/pi-hole/pi-hole
synced 2024-12-22 14:58:08 +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
@ -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 New Issue
Block a user