[Pdns-users] Mysql backend, supermaster / superslave, recevingNOTIFY from bind9.2.1 not working

Huxley [JAC] huxley at thejediacademy.net
Wed Jan 14 23:24:38 UTC 2004


Ok, now i have my secure10 server, properly notifying the 'nsm' server,
which builds out and creates the domain.
All the updates seem to be noticed and pulled over to nsm, which is exactly
what i want.

Now, I want my public ns1 server, to pull from 'nsm' and do the same thing.
So I did the same thing on 'ns1' but 'nsm' wont send out notifys...
I have ns1 listed in the supermasters on 'nsm' as:

mysql> select * from supermasters;
+----------------+-------------------------+---------+
| ip             | nameserver              | account |
+----------------+-------------------------+---------+
| 192.168.10.33 | secure10.domain.com | NULL    |
| 192.168.10.10 | ns1.domain.com      | NULL    |
+----------------+-------------------------+---------+
2 rows in set (0.00 sec)



And on 'ns1' I have:

mysql> select * from supermasters;
+----------------+--------------------+---------+
| ip             | nameserver         | account |
+----------------+--------------------+---------+
| 192.168.10.10 | nsm.domain.com | NULL    |
+----------------+--------------------+---------+
1 row in set (0.00 sec)
----------------------------------------------------------------------------
----

So my question, is how can I get 'NSM' to send NOTIFYs to 'NS1' so ns1
builds out the same way
'nsm' does.

Thank you all :)

-Huxley


----- Original Message ----- 
From: "Huxley [JAC]" <huxley at thejediacademy.net>
To: <pdns-users at mailman.powerdns.com>; "Jeroen Wunnink"
<jeroen at easyhosting.nl>
Sent: Wednesday, January 14, 2004 4:40 PM
Subject: Re: [Pdns-users] Mysql backend, supermaster / superslave,
recevingNOTIFY from bind9.2.1 not working


> Awsome, thanks man, that totally worked.
>
> ANDREAS, follow that link and change that line, and recompile completely
and
> see if that fixes it.
> !
>
> Much appreciated Jeroen.
>
> -Huxley
> ----- Original Message ----- 
> From: "Jeroen Wunnink" <jeroen at easyhosting.nl>
> To: "Huxley [JAC]" <huxley at thejediacademy.net>;
> <pdns-users at mailman.powerdns.com>
> Sent: Wednesday, January 14, 2004 3:24 PM
> Subject: Re: [Pdns-users] Mysql backend, supermaster / superslave,
receving
> NOTIFY from bind9.2.1 not working
>
>
> >
http://mailman.powerdns.com/pipermail/pdns-users/2004-January/001039.html
> >
> > At 22:19 14-1-2004, Huxley [JAC] wrote:
> > >I just joined the list :( Where is the pdns-users archive??
> > >
> > >        -=[Huxley]=-
> > >(any use of this email, or any information contained within this email,
> > >without consent from Huxley, is illegeal and will be processed to the
> > >fullest extent of the law)
> > >----- Original Message -----
> > >From: Jeroen Wunnink
> > >To: pdns-users at mailman.powerdns.com
> > >Sent: Wednesday, January 14, 2004 3:07 PM
> > >Subject: Re: [Pdns-users] Mysql backend, supermaster / superslave,
> > >receving NOTIFY from bind9.2.1 not working
> > >
> > >Read back a bit on the list, it most likely works, but is suffering
from
> > >the heavy load bug.., apply the patch on the slave, and I bet it'll
work
> > >
> > >(sorry for the empty mail, hit enter too fast)
> > >
> > >At 20:20 14-1-2004, you wrote:
> > >>Ok, I'm trying to get a clustered setup, allowing my
> secure10.domain.com,
> > >>running my cpanel software, to send a notify, to my nsm.domain.com
> server,
> > >>which i want to have 'nsm' build out the dns record file, so other
name
> > >>servers can update from it.
> > >>
> > >>So far, I get to:
> > >>
> > >>--(mysql database)---------
> > >>
> > >>mysql> select * from domains;
> >
>
>>+----+-----------+----------------+------------+-------+-----------------+
> ---------+
> > >>| id | name      | master         | last_check | type  |
notified_serial
> > >>| account |
> >
>
>>+----+-----------+----------------+------------+-------+-----------------+
> ---------+
> > >>|  4 | brian.com | 192.168.10.33 | NULL | SLAVE |            NULL |
> |
> >
>
>>+----+-----------+----------------+------------+-------+-----------------+
> ---------+
> > >>(end Mysql database)-------------------
> > >>
> > >>But it wont retreive the proper information from the named/bind9
server
> > >>that it got the notify from:
> > >>
> > >>Jan 14 13:05:38 nsm pdns[11209]: Domain brian.com is stale, master
> serial
> > >>2004011400, our serial 0
> > >>Jan 14 13:05:38 nsm pdns[11209]: 1 slave domain needs checking
> > >>it just repeats this message over and over.
> > >>
> > >>If I delete from domains, it just re-adds itself.
> > >>
> > >>Here is my supermasters table:
> > >>
> > >>----(mysql supermasters)------------------------
> > >>mysql> select * from supermasters;
> > >>+----------------+-------------------------+---------+
> > >>| ip             | nameserver              | account |
> > >>+----------------+-------------------------+---------+
> > >>| 192.168.10.33 | secure10.domain.com | NULL    |
> > >>+----------------+-------------------------+---------+
> > >>1 row in set (0.00 sec)
> >
>
>>--------------------------------------------------------------------------
> > >>
> > >>I've set named's debugging up high, and it keeps receiving notifys
from
> > >>this 'nsm' server, but its not pulling the information over and i cant
> > >>tell why.
> > >>named seems to not give out any errors, and my named conf has allow
> > >>transfer and also-notify options, pointing to the right server
> '192.168.10.33'
> > >>
> > >>Ive read through the docs and searched for 3 days on this issue
online,
> > >>to no avil.
> > >>
> > >>If anyone has any ideas as to how I can allieviate this situation, and
> > >>make my secure10 server properly dish out domains to powerdns/mysql, I
> > >>would love the help.
> > >>
> > >>Thank you in advance!!
> > >>
> > >>-Huxley
> > >>
> > >>
> > >>_______________________________________________
> > >>Pdns-users mailing list
> > >>Pdns-users at mailman.powerdns.com
> > >>http://mailman.powerdns.com/mailman/listinfo/pdns-users
> > >
> > >
> > >
> > >Met vriendelijke groet,
> > >
> > >Jeroen Wunnink,
> > >EasyHosting B.V. Systeembeheerder
> > >systeembeheer at easyhosting.nl
> > >
> > >telefoon:+31 (035) 6285455              Postbus 1332
> > >fax: +31 (035) 6838242                  1200 BH Hilversum
> > >
> > >http://www.easyhosting.nl
> > >http://www.easycolo.nl
> > >
> > >
> > >_______________________________________________
> > >Pdns-users mailing list
> > >Pdns-users at mailman.powerdns.com
> > >http://mailman.powerdns.com/mailman/listinfo/pdns-users
> >
> >
> >
> > Met vriendelijke groet,
> >
> > Jeroen Wunnink,
> > EasyHosting B.V. Systeembeheerder
> > systeembeheer at easyhosting.nl
> >
> > telefoon:+31 (035) 6285455              Postbus 1332
> > fax: +31 (035) 6838242                  1200 BH Hilversum
> >
> > http://www.easyhosting.nl
> > http://www.easycolo.nl
> >
> >
> >
> >
>
> _______________________________________________
> Pdns-users mailing list
> Pdns-users at mailman.powerdns.com
> http://mailman.powerdns.com/mailman/listinfo/pdns-users
>



More information about the Pdns-users mailing list