Message about DNS_PUBLIC to help users with issue #8452

This commit is contained in:
OrvilleRed 2023-03-27 00:36:40 -04:00
parent b6a029f222
commit ca6c42a8e1
1 changed files with 1 additions and 0 deletions

View File

@ -344,6 +344,7 @@ std::vector<std::string> DNSResolver::get_record(const std::string& url, int rec
dnssec_valid = result->secure && !result->bogus;
if (dnssec_available && !dnssec_valid)
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)
{
for (size_t i=0; result->data[i] != NULL; i++)