Skip to content

resolved: retry with a different server on SERVFAIL - #7591

Merged
keszybz merged 3 commits into
systemd:masterfrom
poettering:retry-on-servfail
Dec 12, 2017
Merged

keszybz merged 3 commits into
systemd:masterfrom
poettering:retry-on-servfail

Conversation

@poettering

Copy link
Copy Markdown
Member

let's not give up so quick...

Fixes #7147.

@poettering

Copy link
Copy Markdown
Member Author

i added another commit now, that fixes a very similar case: #7040

Currently, we accept SERVFAIL after downgrading fully, cache it and move
on. Let's extend this a bit: after downgrading fully, if the SERVFAIL
logic continues to be an issue, then use a different DNS server if there
are any.

Fixes: systemd#7147
If we are in strict DNSSEC mode it's worthy to try a different DNS
server before accepting that DNSSEC is not actually supported.

Fixes: systemd#7040
@keszybz

keszybz commented Dec 12, 2017

Copy link
Copy Markdown
Member

fatal: unable to access 'https://git.launchpad.net/~pitti/systemd/+git/debian/': The requested URL returned error: 503

@keszybz

keszybz commented Dec 12, 2017

Copy link
Copy Markdown
Member

Looks very nice. I'll go ahead and merge this. It's the kind of change that should be tested well, but we can't do that in CI, we need actual "field" testing.

@keszybz
keszybz merged commit 404a048 into systemd:master Dec 12, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

2 participants