[Pdns-users] Odd slave behaviour when adding domains to supermaster

Rick Jansen r.jansen at tiw.eu
Thu Sep 14 09:01:32 UTC 2006


Hello.

I'm experiencing inconsistent behaviour when adding a domain to the 
supermaster.
I've logged three of these cases, all of which have seen different 
behaviour.

ns.totaal.net = supermaster = 81.17.52.104.
ns.totaalnet.com = slave 1 = 81.17.53.104.
ns.totaalnet.org = slave 2 = 217.149.193.60.

In the first case, at http://erxz.com/pb/3232, i've added the domain 
'testing98765.nl' to the domains table.

Here's what happens:
1. Supermaster sees the new domain, sends out notifies to the slaves.
2. Slaves deny the notify with rcode=2.
3. I manually send a notify-host from supermaster to slave 2, which is 
also denied with rcode=2.
4. I repeat the command 90 seconds later. This time it is accepted and 
processed normally, the domain is AXFRed.


In the second case, at http://erxz.com/pb/3233, i've added the domain
'rickmans123.nl' to the domains table.

Here's what happens.
1. Supermaster sees the new domain, sends out notifies to the slaves.
2. Slaves deny the notify with rcode=2.
3. A cronjob runs which does a notify-host to the two slaves for the new 
domain.
4. Slave 1 denies the notify, slave 2 accepts and AXFRs the domain. Note 
that in the logs slave 2 says the domain is 'stale' and the serial is 0.

In the third case, at http://erxz.com/pb/3234, i've added the domain
'rickmans1234.nl' to the domains table.

Here's what happens:
1. Supermaster sees the new domain, sends out notifies to the slaves.
2. Slaves deny the notify with rcode=2.
3. I manually send a notify-host from supermaster to slave 2, which is 
also denied with rcode=2.
3. 15 seconds later I repeat the command. This time it is accepted and 
processed normally, the domain is AXFRed. Note that this time the slave 
says 'No serial for 'rickmans1234.nl' found - zone is missing?'.

All pdns versions are 2.9.20.

I'm absolutely puzzled! I need to get this working to automate domain 
registrations. Any advice would be *greatly* appreciated!

Kind regards,
Rick Jansen


More information about the Pdns-users mailing list