Re: bind replication between sites
You are correct in your first paragraph. I can create a brand new zone and it gets propagated to both slave servers. Any changes made to that new zone do not get replicated. And I have been increasing the serial number. I wrote a perl script that adds/del/updates the record and increases the serial number. I verified all content added/deleted/updated via the script is correct, but still no slave servers get updated.
The reason the serial numbers are low is because they are the ones listed on the slave server. The ones on the master are up to 17. There shouldn't be a problem at all.
DHCP can be ruled out because these aren't clients creating dynamic DNS entries (so no its not a stupid wintel client).
Sten Carlsen <firstname.lastname@example.org> wrote: As I read the original post:
from starting the slave server with no zone file on it, the replication
takes place as it should and after a short there is a zone file on the
slave server. So far all ok.
Next, if a change is done on the master that change is not propagated to
the slave server.
Is this the correct description of the problem?
If this is so, I would like to ask if you remember to increase the
serial number in the master zone file? or use nsupdate or dhcp to update
I noticed the serial numbers from the log files being very low, possibly
indicating that they were not incremented. This would present the exact
picture I explain at the top of this post.
Kevin Darcy wrote:[color=blue]
> Dave Henderson wrote:
>> I have three bind servers running. Two at site 1 (one master and one slave) and the other at site 2. Replication of the zone file seems to take place, but when updates are made on the master server, they don't get replicated to the slaves.
> I don't quite understand that sentence. The file is replicating but the
> changes aren't (???)
>> Here is a snippet from the log of the master if I delete the file on a slave server:
>> Jul 19 13:55:55 localhost named: client 192.168.0.31#32936: transfer of 'esessen.org/IN': AXFR started
>> and here it is on the slave server:
>> Jul 19 13:55:53 localhost named: zone esessen.org/IN: transferred serial 3
>> Jul 19 13:55:53 localhost named: transfer of 'esessen.org/IN' from 192.168.0.11#53: end of transfer
>> Jul 19 13:55:53 localhost named: zone esessen.org/IN: sending notifies (serial 3)
>> That all seems to work ok, but if I make change to a domain, it doesn't get replicated. There are no records on the master server indicating a transfer at all. The slave contains:
>> Jul 19 13:55:52 localhost named: zone cliquesoftware.com/IN: sending notifies (serial 2)
>> The actual serial number on the master is 17. Here is the master log (after a restart):
>> Jul 19 11:19:41 localhost named: zone cliquesoftware.com/IN: loaded serial 17
>> Jul 19 11:19:41 localhost named: zone cliquesoftware.com/IN: sending notifies (serial 17)
> How long have you waited and what is the REFRESH setting on the zone? If
> there's something wrong with the NOTIFY mechanism for this zone, then it
> could take up to REFRESH time for the changes to replicate.
> If NOTIFY is broken, then that could be tackled as a separate issue.
> Better to establish that normal REFRESH-timed replication works before
> getting into the arcana of NOTIFY.
>> I am getting the following on the master, but I don't have a server or client using the following ip address:
>> Jul 19 12:11:20 localhost named: client 192.168.0.200#2679: updating zone 'digital-pipe.local/IN': update failed: 'RRset exists (value dependent)' prerequisite not satisfied (NXRRSET)
>> Jul 19 12:11:20 localhost named: client 192.168.0.200#2682: update 'digital-pipe.local/IN' denied
> Probably just a stupid Wintel client that's misconfigured to register
> its name in DNS.
> - Kevin
Let HIM who has an empty INBOX send the first mail.