Skip to content

Start named before mxstartup #36

Merged
merged 2 commits into from
Mar 29, 2018
Merged

Start named before mxstartup #36

merged 2 commits into from
Mar 29, 2018

Conversation

donald
Copy link
Collaborator

@donald donald commented Mar 29, 2018

No description provided.

named.service is used on wtf only to start the bind named.

The ConditionPathExists=/node/startup-hostname/wtf is a workaround,
because we are running on an early systemd version which doesn't yet
support ConditionHost.
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.
@donald donald merged commit c096a17 into master Mar 29, 2018
Sign in to join this conversation on GitHub.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant