[Pdns-users] master slave stuff

Curtis Maurand curtis at maurand.com
Tue Jul 12 01:37:09 UTC 2005


Hi,
  I've set up pdns and have been using it for months, but slave 
replication to non pdns and other pdns servers using the normal axfr 
stuff is driving me crazy and I have not been able to find coherent 
documentation or an answer on the subject.  essentially I've been 
setting up duplicate zones on both machines manually.  Very easy to 
screw up.

I have

allow-axfr-ips=69.49.141.146,69.49.141.145
disable-axfr=no
master=yes
slave=yes

from the mysql table.
+----+--------------------------+--------+------------+--------+-----------------+---------+
| id | name                     | master | last_check | type   | 
notified_serial | account |
+----+--------------------------+--------+------------+--------+-----------------+---------+
| 62 | toddltc.com              |        |          0 | MASTER 
|               0 |         |
+----+--------------------------+--------+------------+--------+-----------------+---------+

from the log.
Jul 11 21:13:41 [pdns] Not authoritative for 'toddltc.com', sending 
servfail to 69.49.141.146

On the slave:

allow-axfr-ips=69.49.141.140,69.49.141.141
disable-axfr=no
master=yes
slave=yes

+----+--------------------------+---------------+------------+--------+-----------------+---------+
| id | name                     | master        | last_check | type   | 
notified_serial | account |
+----+--------------------------+---------------+------------+--------+-----------------+---------+
| 61 | toddltc.com              | 69.49.141.140 |     [NULL] | SLAVE  
|          [NULL] | [NULL]  |
+----+--------------------------+---------------+------------+--------+-----------------+---------+

from the slave's log.

Jul 11 21:17:41 canon pdns[25455]: Error trying to retrieve/refresh 
'toddltc.com': Remote nameserver reported error: RCODE=2

does anyone have any idea what's going on?  I've tried setting the zone 
on the master as native and master and I get the error either way.

Thanks in advance,

Curtis



More information about the Pdns-users mailing list