From df96c2cab92bc864f05923594d7089005bf3cb4c Mon Sep 17 00:00:00 2001 From: Otto Moerbeek Date: Tue, 18 Jul 2023 10:11:19 +0200 Subject: [PATCH] Update pdns/recursordist/pdns_recursor.cc Co-authored-by: Peter van Dijk --- pdns/recursordist/pdns_recursor.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pdns/recursordist/pdns_recursor.cc b/pdns/recursordist/pdns_recursor.cc index e0f78da2e3..677bf39d97 100644 --- a/pdns/recursordist/pdns_recursor.cc +++ b/pdns/recursordist/pdns_recursor.cc @@ -776,7 +776,7 @@ int getFakePTRRecords(const DNSName& qname, vector& ret) record.d_name = qname; record.d_type = QType::CNAME; record.setContent(std::make_shared(newquery)); - // Copy the TTL of the synhtesized CNAME from the actual answer + // Copy the TTL of the synthesized CNAME from the actual answer record.d_ttl = (rcode == RCode::NoError && !answers.empty()) ? answers.at(0).d_ttl : SyncRes::s_minimumTTL; ret.push_back(record); -- 2.47.2