<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Piotr PrzybyÃ
 wrote:
<blockquote cite="mid:4A9635BC.3020908@power.com.pl" type="cite">
<pre wrap="">
</pre>
<blockquote type="cite">
<pre wrap="">We are having trouble with master/slave replication with a couple of our
large zone files. This is PDNS-native replication, not database
replication.
Replication is working fine to one of our slaves, but not to the other.
The broken slave continuously throws these errors when the AXFR of the
zone is attempted from the master:
</pre>
</blockquote>
<pre wrap=""><!---->
Could you specify if this happens for every zone for this single slave
or only for "large" ones?
Have you checked if this slave is allowed to do AXFR? Master's config,
allow-axfr-ips?
</pre>
</blockquote>
The problem occurs for the "large" zone.ÃÂ The smaller zones update just
fine.<br>
<br>
And yes, this slave is allowed to AXFR -- it retrieved the larger zone
fine initially, and a few times after that.ÃÂ Then it stopped.ÃÂ I set up
an additional slave and it has the same problem.ÃÂ As it stands now, two
of the slaves are in the same datacenter with the master and one is in
a different facility.ÃÂ Only the slave in a different facility is able
to regularly transfer the large zone without issue.ÃÂ I have a feeling
that there is some sort of timeout occurring with database access when
the slave is local, but the remote slave has a natural "throttling" due
to its distance from the master.<br>
<blockquote cite="mid:4A9635BC.3020908@power.com.pl" type="cite">
<pre wrap="">You may login to slave machine and try to dig @XX.XX.XX.XX xyzzy.net AXFR
</pre>
</blockquote>
Yes, manual AXFR requests work from all of the slaves, every time.ÃÂ No
errors.<br>
<blockquote cite="mid:4A9635BC.3020908@power.com.pl" type="cite">
<blockquote type="cite">
<pre wrap="">Aug 26 14:46:09 dns2 pdns[16674]: AXFR started for 'xyzzy.net',
transaction started
Aug 26 14:46:31 dns2 pdns[16674]: Unable to AXFR zone 'xyzzy.net' from
remote 'XX.XX.XX.XX': Remote nameserver closed TCP connection
Aug 26 14:46:31 dns2 pdns[16674]: Aborting possible open transaction for
domain 'xyzzy.net' AXFR
</pre>
</blockquote>
<pre wrap=""><!---->
Take a look at master's logs as well. You may find a reason why it
closes the connection.
</pre>
</blockquote>
I've checked there as well, and unfortunately nothing of interest
appears in the master's logs, even with logging increased to the
maximum.<br>
<br>
Any other ideas?<br>
<br>
Thanks,<br>
<br>
-Bill<br>
</body>
</html>