diff --git a/node-daemon/pvcd/DNSAggregatorInstance.py b/node-daemon/pvcd/DNSAggregatorInstance.py index 5fa2d87e..e86a7ff8 100644 --- a/node-daemon/pvcd/DNSAggregatorInstance.py +++ b/node-daemon/pvcd/DNSAggregatorInstance.py @@ -355,7 +355,8 @@ class AXFRDaemonInstance(object): z = dns.zone.from_xfr(axfr) records_raw = [z[n].to_text(n) for n in z.nodes.keys()] except Exception as e: - print('{} {} ({})'.format(e, dnsmasq_ip, domain)) + if self.config['debug']: + print('{} {} ({})'.format(e, dnsmasq_ip, domain)) continue # Fix the formatting because it's useless