[Pdns-users] IPV6 ARPA AXFR problem

Peter van Dijk peter.van.dijk at netherlabs.nl
Mon Oct 15 19:56:06 UTC 2012


Hello Dennis,

On Oct 12, 2012, at 11:55 , dennis w wrote:

> Oct 12 10:44:07 ns2 pdns[1299]: Unable to parse record during incoming AXFR of 'xxxxx.ip6.arpa' (MOADNSException): Loop

Based on your database dump I can explain this message: our DNS label compression is linking all your names of successive lengths together in one big chain of references. Our decompressor is a bit naive and simply limits the number of iterations.

I have filed this as bug #599 at http://wiki.powerdns.com/trac/ticket/599, with the intention to fully resolve this before the release of 3.2.

For now, if you happen to be in a situation where you can recompile PowerDNS, this patch (for your slave) should create a workable situation for you.

Index: pdns/dnsparser.cc
===================================================================
--- pdns/dnsparser.cc	(revision 2810)
+++ pdns/dnsparser.cc	(working copy)
@@ -430,7 +430,7 @@
 
 void PacketReader::getLabelFromContent(const vector<uint8_t>& content, uint16_t& frompos, string& ret, int recurs) 
 {
-  if(recurs > 10)
+  if(recurs > 50)
     throw MOADNSException("Loop");
 
   for(;;) {

Kind regards,
-- 
Peter van Dijk
Netherlabs Computer Consulting BV - http://www.netherlabs.nl/




More information about the Pdns-users mailing list