From 3729e7f856fc75bf5abd1e6570dd2d78895bae7e Mon Sep 17 00:00:00 2001 From: bert hubert Date: Mon, 17 Jun 2019 14:57:58 +0200 Subject: [PATCH] Improve error when notification comes in for non-slave zone --- pdns/slavecommunicator.cc | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/pdns/slavecommunicator.cc b/pdns/slavecommunicator.cc index 190488faf5..6808cf8880 100644 --- a/pdns/slavecommunicator.cc +++ b/pdns/slavecommunicator.cc @@ -91,8 +91,12 @@ void CommunicatorClass::ixfrSuck(const DNSName &domain, const TSIGTriplet& tt, c try { DNSSECKeeper dk (&B); // reuse our UeberBackend copy for DNSSECKeeper - if(!B.getDomainInfo(domain, di) || !di.backend || di.kind != DomainInfo::Slave) { // di.backend and B are mostly identical - g_log<