From: W.C.A. Wijngaards Date: Mon, 31 Aug 2020 09:50:11 +0000 (+0200) Subject: - Fix #296: systemd nss-lookup.target is reached before unbound can X-Git-Tag: release-1.12.0rc1~29 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=afbc7bb4fec5026f6a1a1487e643b94b2ba1d694;p=thirdparty%2Funbound.git - Fix #296: systemd nss-lookup.target is reached before unbound can successfully answer queries. Changed contrib/unbound.service.in. --- diff --git a/contrib/unbound.service.in b/contrib/unbound.service.in index 8ebe529c9..c95ab94b3 100644 --- a/contrib/unbound.service.in +++ b/contrib/unbound.service.in @@ -42,9 +42,9 @@ [Unit] Description=Validating, recursive, and caching DNS resolver Documentation=man:unbound(8) -After=network.target -Before=network-online.target nss-lookup.target -Wants=nss-lookup.target +After=network-online.target +Before=nss-lookup.target +Wants=network-online.target nss-lookup.target [Install] WantedBy=multi-user.target diff --git a/doc/Changelog b/doc/Changelog index 5a327a23f..110da7f2b 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -2,6 +2,8 @@ - Merge PR #293: Add missing prototype. Also refactor to use the new shorthand function to clean up the code. - Refactor to use sock_strerr shorthand function. + - Fix #296: systemd nss-lookup.target is reached before unbound can + successfully answer queries. Changed contrib/unbound.service.in. 27 August 2020: Wouter - Similar to NSD PR#113, implement that interface names can be used,