From c16de2e7482d5b752ee9ba7e27659e02da1ab5d2 Mon Sep 17 00:00:00 2001 From: Ruben Kerkhof Date: Sun, 14 Dec 2014 13:23:08 +0100 Subject: [PATCH] Only log remote nameservers Skip the A/AAAA records. Previously, we would log: Unable to find backend willing to host example.com for potential supermaster x.x.x.x. 4 remote nameservers: test1.example.com test2.example.com x.x.x.x x.x.x.y --- pdns/packethandler.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pdns/packethandler.cc b/pdns/packethandler.cc index 12a5968b53..7d1185d263 100644 --- a/pdns/packethandler.cc +++ b/pdns/packethandler.cc @@ -745,9 +745,10 @@ int PacketHandler::trySuperMasterSynchronous(DNSPacket *p) string nameserver, account; DNSBackend *db; if(!B.superMasterBackend(p->getRemote(), p->qdomain, nsset, &nameserver, &account, &db)) { - L<qdomain<<" for potential supermaster "<getRemote()<<". "<qdomain<<" for potential supermaster "<getRemote()<<". Remote nameservers: "<