]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
- Fix #296: systemd nss-lookup.target is reached before unbound can
authorW.C.A. Wijngaards <wouter@nlnetlabs.nl>
Mon, 31 Aug 2020 09:50:11 +0000 (11:50 +0200)
committerW.C.A. Wijngaards <wouter@nlnetlabs.nl>
Mon, 31 Aug 2020 09:50:11 +0000 (11:50 +0200)
  successfully answer queries. Changed contrib/unbound.service.in.

contrib/unbound.service.in
doc/Changelog

index 8ebe529c9ab6e609b46b49de95989fcb2ade4fc3..c95ab94b343a92d301ba96c737aa9a55daa30f74 100644 (file)
@@ -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
index 5a327a23ffb65b3c8353c93df08edd3a7426e2de..110da7f2b6705b760b088f63269a3c0de360f92f 100644 (file)
@@ -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,