Re: [Pdns-users] multiple master support?

Nico van Royen nico at van-royen.nl
Wed Jan 23 10:34:23 UTC 2008


Be sure that that in the slave pdns database the 'type' of that domain is set to slave, and the master field set to the correct master.

For instance (sample slave domain)


mysql> select * from domains where name = "blaat.com";
+-----+-----------+--------------+------------+-------+-----------------+---------+
| id  | name      | master       | last_check | type  | notified_serial | account |
+-----+-----------+--------------+------------+-------+-----------------+---------+
| 892 | blaat.com | 83.98.163.20 | 1201083608 | SLAVE |            NULL | iworx   |
+-----+-----------+--------------+------------+-------+-----------------+---------+
1 row in set (0.00 sec)

mysql> select * from supermasters where ip = "83.98.163.20";
+--------------+----------------+---------+------+
| ip           | nameserver     | account | mx   |
+--------------+----------------+---------+------+
| 83.98.163.20 | ns04.warp3.com | iworx   |    0 |
+--------------+----------------+---------+------+
1 row in set (0.04 sec)

Regards,
Nico van Royen
Public-servers.com, Public DNS manager


  _____  

From: Dorothea Dorsch [mailto:dorothea.dorsch at mcs.de]
To: pdns-users [mailto:pdns-users at mailman.powerdns.com]
Sent: Wed, 23 Jan 2008 10:27:58 +0100
Subject: [Pdns-users] multiple master support?

Hi all,
  
  I thought I've read somewhere that multiple masters are supported, but am not 
  sure where that was. 
  
  Anyway, I've a test server and so defined him as a supermaster to one of the 
  slaves (Master's 2.9.20 , slave's 2.9.21, both with own gmysql). Gave 
  the "domains.master"-row a little more space and added the second IP for one 
  of the zones (seperated by comma and a whitespace). Gave the new supermaster 
  the same account name than the original supermaster. Updated the serial in 
  the test server.
  
  Test server sends notify. Slave says:
  Received NOTIFY for xxxx.de from xxx.xxx.xxx.xxx which is not a master
  
  But then, a few minutes later:
  
  Domain xxxx.de is stale, master serial 2008011612, our serial 2008010800
  AXFR started for 'xxxx.de', transaction started
  AXFR done for 'xxxx.de', zone committed
  
  Puzzled, I updated the serial again. Result:
  
  Received NOTIFY for xxxx.de from xxx.xxx.xxx.xxx which is not a master
  
  Where is my mistake? How does the mechanism which decides that the notifier is 
  a master or not work? 
  
  Thank you,
  
  Dorothea
  
  
  -- 
  Dorothea Dorsch
  (Hostmaster)
  
  ======================================================
  MCS MOORBEK COMPUTER SYSTEME GmbH
  Essener Bogen 17 - 22419 Hamburg - Germany
  Tel +49 (0)40.53773.0 - Fax: +49 (0)40.53773.200
  eMail: dorothea.dorsch at mcs.de - Web: http://www.mcs.de
  Eingetragen im Handelsregister Hamburg B62933
  Geschaeftsfuehrer: Kai Brandes + Eckard Kabel
  GPG 5503 64AC A55A 3D1D B0C3  F31C 4533 7303 EE36 5CCD
  ======================================================
  _______________________________________________
  Pdns-users mailing list
  Pdns-users at mailman.powerdns.com
  http://mailman.powerdns.com/mailman/listinfo/pdns-users
    
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.powerdns.com/pipermail/pdns-users/attachments/20080123/00eaa2d4/attachment-0001.html>


More information about the Pdns-users mailing list