]> git.ipfire.org Git - thirdparty/systemd.git/commit
resolved: only attempt non-answer SOA RRs if they are parents of our query
authorLennart Poettering <lennart@poettering.net>
Mon, 17 Dec 2018 20:14:17 +0000 (21:14 +0100)
committerLennart Poettering <lennart@poettering.net>
Tue, 18 Dec 2018 10:25:21 +0000 (11:25 +0100)
commitd5acaa51db2a9963d525a7927e1f55482435bb79
tree018a92ae7ff1245c7fbb71d5cb33aefe4edead02
parent1a126325eb26decfe4d3bb64c6ec1c27cafb8c73
resolved: only attempt non-answer SOA RRs if they are parents of our query

There's no value in authenticating SOA RRs that are neither answer to
our question nor parent of our question (the latter being relevant so
that we have a TTL from the SOA field for negative caching of the actual
query).

By being to eager here, and trying to authenticate too much we run the
risk of creating cyclic deps between our transactions which then causes
the over-all authentication to fail.

Fixes: #9771
src/resolve/resolved-dns-transaction.c