Commit 95f01af4 authored by Libor Peltan's avatar Libor Peltan

DS query: don't ask other addrs if first returned negative

parent 0e55e362
......@@ -211,6 +211,9 @@ static bool parents_have_ds(kdnssec_ctx_t *kctx, zone_key_t *key, size_t timeout
*max_ds_ttl = MAX(*max_ds_ttl, ds_ttl);
success = true;
break;
} else if (ret == KNOT_ENORECORD) {
// parent was queried successfully, answer was negative
break;
}
}
// Each parent must succeed.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment