From 5d33ae9344ac9bd3cb0cb3476e6ee5c7eea02f6c Mon Sep 17 00:00:00 2001 From: Peter van Dijk Date: Mon, 8 Jul 2019 11:16:27 +0200 Subject: [PATCH] Revert "Better logging, so the operator knows where to look." This reverts commit c6e6b0559cfcff8537ee95c4f3d7c02477fd81a3. (cherry picked from commit 35b942fe32cee111a6dec5025ff06b27a58696b5) --- pdns/communicator.hh | 6 +++--- pdns/mastercommunicator.cc | 2 +- pdns/tcpreceiver.cc | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/pdns/communicator.hh b/pdns/communicator.hh index c63534dc2..831b2cecf 100644 --- a/pdns/communicator.hh +++ b/pdns/communicator.hh @@ -251,7 +251,7 @@ private: class FindNS { public: - vector lookup(const DNSName &name, UeberBackend *b, const DNSName& zone) + vector lookup(const DNSName &name, UeberBackend *b) { vector addresses; @@ -269,11 +269,11 @@ public: } // After an exception, b can be inconsistent so break catch (PDNSException &ae) { - g_log << Logger::Error << "Could not lookup address for nameserver " << name << " in zone " << zone << ", cannot notify: " << ae.reason << endl; + g_log << Logger::Error << "Skipping record(s): " << ae.reason << endl; break; } catch (std::exception &e) { - g_log << Logger::Error << "Could not lookup address for nameserver " << name << " in zone " << zone << ", cannot notify: " << e.what() << endl; + g_log << Logger::Error << "Skipping record(s): " << e.what() << endl; break; } } diff --git a/pdns/mastercommunicator.cc b/pdns/mastercommunicator.cc index 048034749..b5841132c 100644 --- a/pdns/mastercommunicator.cc +++ b/pdns/mastercommunicator.cc @@ -56,7 +56,7 @@ void CommunicatorClass::queueNotifyDomain(const DomainInfo& di, UeberBackend* B) nsset.insert(getRR(rr.dr)->getNS().toString()); for(set::const_iterator j=nsset.begin();j!=nsset.end();++j) { - vector nsips=fns.lookup(DNSName(*j), B, di.zone); + vector nsips=fns.lookup(DNSName(*j), B); if(nsips.empty()) g_log< q) while(B->get(rr)) nsset.insert(DNSName(rr.content)); for(const auto & j: nsset) { - vector nsips=fns.lookup(j, s_P->getBackend(),q->qdomain); + vector nsips=fns.lookup(j, s_P->getBackend()); for(vector::const_iterator k=nsips.begin();k!=nsips.end();++k) { // cerr<<"got "<<*k<<" from AUTO-NS"<getRemote().toString()) -- 2.40.0