[Pdns-users] multiple master support?

Dorothea Dorsch dorothea.dorsch at mcs.de
Wed Jan 23 12:45:42 UTC 2008


Hi Nico,

japp, domain is set as slave. This is done automatically when it's entered via 
Supermaster, I only added the second master in the master field.

sincerely,

Dorothea

select * from domains where name = "connects.de";
+------+-------------+--------------------------+------------+-------+-----------------+----------+
| id   | name        | master                   | last_check | type  | 
notified_serial | account  |
+------+-------------+--------------------------+------------+-------+-----------------+----------+
| 5938 | connects.de | 212.1.33.40, 212.1.33.46 | 1201078604 | SLAVE |            
NULL | MCS-TEST |
+------+-------------+--------------------------+------------+-------+-----------------+----------+


select * from supermasters where ip = "212.1.33.40" or ip = "212.1.33.46";
+-------------+-------------------+-------------+
| ip          | nameserver        | account     |
+-------------+-------------------+-------------+
| 212.1.33.40 | dns-auth-3.mcs.de | MCS-Nokixel |
| 212.1.33.46 | dns-auth-3.mcs.de | MCS-Nokixel |
+-------------+-------------------+-------------+





Am Mittwoch, 23. Januar 2008 11:34 schrieb Nico van Royen:
> 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
> 


-- 
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
======================================================


More information about the Pdns-users mailing list