Merge pull request #8804

ca6c42a Message about DNS_PUBLIC to help users with issue #8452 (OrvilleRed)
This commit is contained in:
luigi1111 2023-06-27 11:33:45 -05:00
commit 3d9f378ed4
No known key found for this signature in database
GPG key ID: F4ACA0183641E010

View file

@ -340,6 +340,7 @@ std::vector<std::string> DNSResolver::get_record(const std::string& url, int rec
dnssec_valid = result->secure && !result->bogus; dnssec_valid = result->secure && !result->bogus;
if (dnssec_available && !dnssec_valid) if (dnssec_available && !dnssec_valid)
MWARNING("Invalid DNSSEC " << get_record_name(record_type) << " record signature for " << url << ": " << result->why_bogus); MWARNING("Invalid DNSSEC " << get_record_name(record_type) << " record signature for " << url << ": " << result->why_bogus);
MWARNING("Possibly your DNS service is problematic. You can have monerod use an alternate via env variable DNS_PUBLIC. Example: DNS_PUBLIC=tcp://9.9.9.9");
if (result->havedata) if (result->havedata)
{ {
for (size_t i=0; result->data[i] != NULL; i++) for (size_t i=0; result->data[i] != NULL; i++)