From: Michael Tremer Date: Mon, 13 Jan 2020 19:55:32 +0000 (+0100) Subject: unbound: Reload own hostname, too X-Git-Tag: v2.25-core141~70^2~8 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f59bc0c55d807ca37ef39654cdfb60d53bdfa65e;p=ipfire-2.x.git unbound: Reload own hostname, too Signed-off-by: Michael Tremer --- diff --git a/src/initscripts/system/unbound b/src/initscripts/system/unbound index b5f7cbc602..5ae0205842 100644 --- a/src/initscripts/system/unbound +++ b/src/initscripts/system/unbound @@ -76,6 +76,9 @@ own_hostname() { } update_hosts() { + # Make own hostname resolveable + own_hostname + local enabled address hostname domainname generateptr while IFS="," read -r enabled address hostname domainname generateptr; do @@ -575,9 +578,6 @@ case "$1" in boot_mesg "Starting Unbound DNS Proxy..." loadproc /usr/sbin/unbound || exit $? - # Make own hostname resolveable - own_hostname - # Install Safe Search rules when the system is already online if [ -e "/var/ipfire/red/active" ]; then update_safe_search