From: bert hubert Date: Thu, 24 Sep 2015 08:31:24 +0000 (+0200) Subject: improve logging somewhat for #2758 and #2760. X-Git-Tag: dnsdist-1.0.0-alpha1~248^2~36 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b9e96b636f5dc6b0e7fb4fcebcb0970687d9194e;p=thirdparty%2Fpdns.git improve logging somewhat for #2758 and #2760. --- diff --git a/pdns/dnsrecords.hh b/pdns/dnsrecords.hh index 685f28d2fe..50e1508173 100644 --- a/pdns/dnsrecords.hh +++ b/pdns/dnsrecords.hh @@ -597,7 +597,7 @@ RNAME##RecordContent::RNAME##RecordContent(const string& zoneData) : DNSRecordCo xfrPacket(rtr); \ } \ catch(RecordTextException& rtr) { \ - throw MOADNSException("Parsing record content: "+string(rtr.what())); \ + throw MOADNSException("Parsing record content (try 'pdnssec check-zone'): "+string(rtr.what())); \ } \ } \ \ diff --git a/pdns/syncres.cc b/pdns/syncres.cc index b0994a3120..acaab1ba71 100644 --- a/pdns/syncres.cc +++ b/pdns/syncres.cc @@ -879,7 +879,7 @@ int SyncRes::doResolveAt(set nameservers, DNSName auth, bool flawedNSSe } // this line needs to identify the 'self-resolving' behaviour, but we get it wrong now if(pdns_iequals(qname, *tns) && qtype.getCode()==QType::A && rnameservers.size() > (unsigned)(1+1*s_doIPv6)) { - LOG(prefix<