]> git.ipfire.org Git - thirdparty/systemd.git/commit
resolved: when a server consistently returns SERVFAIL, try another one
authorLennart Poettering <lennart@poettering.net>
Fri, 8 Dec 2017 18:48:15 +0000 (19:48 +0100)
committerLennart Poettering <lennart@poettering.net>
Tue, 12 Dec 2017 11:10:08 +0000 (12:10 +0100)
commit44db02d0ef553e1ef96cd8d814853940db4eb20d
treecadbad9b7cc63d1a50bfd3ac3fbefcaf8d2b0be3
parent4a0e9289bf443fec9fc56af25f90e2a100ba7a41
resolved: when a server consistently returns SERVFAIL, try another one

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: #7147
src/resolve/resolved-dns-scope.c
src/resolve/resolved-dns-scope.h
src/resolve/resolved-dns-transaction.c
src/resolve/resolved-dns-transaction.h