From 6576051d03a5f25c0cf8f4848d0ae2eb665aedfa Mon Sep 17 00:00:00 2001 From: bert hubert Date: Tue, 6 Jan 2015 15:28:25 +0100 Subject: [PATCH] if a query ends up failing so badly we want to reprime the root, do so, but abort the query --- pdns/syncres.cc | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/pdns/syncres.cc b/pdns/syncres.cc index d10e049224..e174fbb47f 100644 --- a/pdns/syncres.cc +++ b/pdns/syncres.cc @@ -570,14 +570,17 @@ void SyncRes::getBestNSFromCache(const string &qname, set&bes bestns.clear(); } else { - beenthere.insert(answer); + beenthere.insert(answer); LOG(prefix<