diff --git a/update-systemd-resolved b/update-systemd-resolved index 354e573..b8498e9 100755 --- a/update-systemd-resolved +++ b/update-systemd-resolved @@ -92,14 +92,14 @@ case $script_type in domain="${setting//DOMAIN }" [[ -z "${domain}" ]] && continue dns_domain_count=$((dns_domain_count+1)) - log "Adding DNS Domain ${address}" + log "Adding DNS Domain ${domain}" dns_domains="${dns_domains} ${domain} false" ;; DOMAIN-SEARCH) domain="${setting//DOMAIN-SEARCH }" [[ -z "${domain}" ]] && continue dns_domain_count=$((dns_domain_count+1)) - log "Adding DNS Search Domain ${address}" + log "Adding DNS Search Domain ${domain}" dns_domains="${dns_domains} ${domain} true" ;; esac