That kind of content was properly logged and handled when received
during the initial loading (AXFR) but not when received via an
incremental update.
(cherry picked from commit
55a99233728fc01e3946a97fb8dbb073a3003622)
catch (const std::exception& e) {
g_log << Logger::Error << "Error while applying the update received over XFR for "<<zoneName<<", skipping the update: "<< e.what() <<endl;
}
+ catch (const PDNSException& e) {
+ g_log << Logger::Error << "Error while applying the update received over XFR for "<<zoneName<<", skipping the update: "<< e.reason <<endl;
+ }
}
}