Use ip-freebind: yes or add After=network-online.target

if interface: specifies exact address, not localhost nor wildcard. It
should not be used by default when only localhost listening is enabled.
Default configuration does not need it.

Resolves: RHEL-77616
This commit is contained in:
Tomas Korbar 2025-02-04 10:38:11 +01:00
parent cc9a5c9d7b
commit 745c62044d

View File

@ -1,6 +1,9 @@
[Unit]
Description=Unbound recursive Domain Name Server
After=network-online.target
After=network.target
# Use ip-freebind: yes or add After=network-online.target, rhbz#2338429,
# if interface: specifies exact address, not localhost nor wildcard
#After=network-online.target
After=unbound-keygen.service
Wants=unbound-keygen.service
After=unbound-anchor.service