aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2023-07-06 21:41:12 -0500
committerluigi1111 <luigi1111w@gmail.com>2023-07-06 21:41:12 -0500
commit00fd416a99686f0956361d1cd0337fe56e58d4a7 (patch)
treed10b2aaf84dcaab64b87791884487ca87884dce0
parentMerge pull request #8904 (diff)
parentFixup error message. (diff)
downloadmonero-00fd416a99686f0956361d1cd0337fe56e58d4a7.tar.xz
Merge pull request #8919
1c20198 Fixup error message. (ComputeryPony)
-rw-r--r--src/common/dns_utils.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common/dns_utils.cpp b/src/common/dns_utils.cpp
index ce4555ae3..9c10c420c 100644
--- a/src/common/dns_utils.cpp
+++ b/src/common/dns_utils.cpp
@@ -339,8 +339,10 @@ std::vector<std::string> DNSResolver::get_record(const std::string& url, int rec
dnssec_available = (result->secure || result->bogus);
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++)