Skip to content

Commit

Permalink
named.service: Run before mxstartup-mxvip.service
Browse files Browse the repository at this point in the history
If _wtf_ is started when the Internet is not available, unbound is
unable to verify DNSSEC and libc will fall back to query the bind named
on 141.14.16.1, which should be able to resolve local names.

Experiments showed however, that sometimes mxstartup is executed on
_wtf_ before the bind nameserver has started. This can lead
to name resolution failures and mxstartup services startup failures,
if these have ip addresses configured by name.

Add startup contraint to start named before mxstartup.
  • Loading branch information
donald committed Mar 29, 2018
1 parent fba3fad commit 3f7674b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions misc_systemd_units/named.service
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ After=network.service gateway.service mxmount.service automount.service

Wants=startup-hostname.service
After=startup-hostname.service
Before=mxstartup-mxvip.service
ConditionPathExists=/node/startup-hostname/wtf

[Service]
Expand Down

0 comments on commit 3f7674b

Please sign in to comment.