|
|
|
@ -526,12 +526,12 @@ bool load_txt_records_from_dns(std::vector<std::string> &good_records, const std
|
|
|
|
|
const std::string &url = dns_urls[cur_index];
|
|
|
|
|
if (!avail[cur_index])
|
|
|
|
|
{
|
|
|
|
|
records[cur_index].clear();
|
|
|
|
|
//records[cur_index].clear(); TODO: temp skipped DNSSEC
|
|
|
|
|
LOG_PRINT_L2("DNSSEC not available for hostname: " << url << ", skipping.");
|
|
|
|
|
}
|
|
|
|
|
if (!valid[cur_index])
|
|
|
|
|
{
|
|
|
|
|
records[cur_index].clear();
|
|
|
|
|
//records[cur_index].clear(); TODO: temp skipped DNSSEC
|
|
|
|
|
LOG_PRINT_L2("DNSSEC validation failed for hostname: " << url << ", skipping.");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -552,7 +552,7 @@ bool load_txt_records_from_dns(std::vector<std::string> &good_records, const std
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (num_valid_records < 2)
|
|
|
|
|
if (num_valid_records < 1)
|
|
|
|
|
{
|
|
|
|
|
LOG_PRINT_L2("WARNING: no two valid DNS TXT records were received");
|
|
|
|
|
return false;
|
|
|
|
|