mirror of
https://github.com/Dasharo/systemd.git
synced 2026-03-06 15:02:31 -08:00
resolved: always progress DS queries
If we request a DS and the resolver offers an unsigned SOA, a new
auxiliary transaction for the DS will be rejected as a loop, and we
might not make any progress toward finding the DS we need. Let's ensure
that we at least always check the parent in this case.
Fixes: 47690634f1 ("resolved: don't request the SOA for every dns label")
This commit is contained in:
committed by
Luca Boccassi
parent
8d6e439aae
commit
d840783db5
@@ -2618,6 +2618,10 @@ int dns_transaction_request_dnssec_keys(DnsTransaction *t) {
|
||||
return r;
|
||||
if (r == 0)
|
||||
continue;
|
||||
|
||||
/* If we were looking for the DS RR, don't request it again. */
|
||||
if (dns_transaction_key(t)->type == DNS_TYPE_DS)
|
||||
continue;
|
||||
}
|
||||
|
||||
r = dnssec_has_rrsig(t->answer, rr->key);
|
||||
|
||||
Reference in New Issue
Block a user