[Pdns-users] MongoDB Backend merged Re: Mongo DB and PowerDNS part 3: Now with DNSSEC

2011-04-14 Thread bert hubert
On Tue, Apr 05, 2011 at 10:12:49PM +0200, fredrik danerklint wrote: > I've just send the sourcecode of the backend to Bert! Hi Fredrik, I have just merged it with the build system based on your latest version. It is part of build 2163, and will be shipped as 'experimental' with version 3.0. Get

Re: [Pdns-users] MongoDB Backend merged Re: Mongo DB and PowerDNS part 3: Now with DNSSEC

2011-05-25 Thread Nick Milas
On 14/4/2011 9:30 μμ, bert hubert wrote: Hi Fredrik, I have just merged it with the build system based on your latest version. It is part of build 2163, and will be shipped as 'experimental' with version 3.0. Hi Fredrik and all, I see here: http://doc.powerdns.com/mongo.html that pdns/mongod

Re: [Pdns-users] MongoDB Backend merged Re: Mongo DB and PowerDNS part 3: Now with DNSSEC

2011-05-25 Thread fredrik danerklint
Nikolas, PowerDNS ask each backend for domains which has a different 'notified_serial' than 'serial' for the domain. This function is called getUpdatedMasters(vector* domains) and exists in the source file 'master.cc' for MongoDB backend. What PowerDNS except after a call to this function is

Re: [Pdns-users] MongoDB Backend merged Re: Mongo DB and PowerDNS part 3: Now with DNSSEC

2011-05-25 Thread Nick Milas
On 25/5/2011 11:25 μμ, fredrik danerklint wrote: PowerDNS ask each backend for domains which has a different 'notified_serial' than 'serial' for the domain. Thanks Fredrik for the info. If I understand it right, 'notified_serial' is the one PowerDNS knows as current for a domain, and 'serial

Re: [Pdns-users] MongoDB Backend merged Re: Mongo DB and PowerDNS part 3: Now with DNSSEC

2011-05-26 Thread fredrik danerklint
Nick, To answer all of your questions, please take a look at the source file 'communicator.cc'. At the end of that file there is a function called "void CommunicatorClass::mainloop(void)" that checks slave and master every other 'slave-cycle-interval' seconds (parameter taken from the pdns.conf

Re: [Pdns-users] MongoDB Backend merged Re: Mongo DB and PowerDNS part 3: Now with DNSSEC

2011-05-26 Thread Nick Milas
On 26/5/2011 3:44 μμ, fredrik danerklint wrote: Nick, To answer all of your questions, please take a look at the source file 'communicator.cc'. At the end of that file there is a function called "void CommunicatorClass::mainloop(void)" that checks slave and master every other 'slave-cycle-inter

Re: [Pdns-users] MongoDB Backend merged Re: Mongo DB and PowerDNS part 3: Now with DNSSEC

2011-05-26 Thread fredrik danerklint
> On 26/5/2011 3:44 μμ, fredrik danerklint wrote: > > Nick, > > > > To answer all of your questions, please take a look at the source file > > 'communicator.cc'. At the end of that file there is a function called > > "void CommunicatorClass::mainloop(void)" that checks slave and master > > every

Re: [Pdns-users] MongoDB Backend merged Re: Mongo DB and PowerDNS part 3: Now with DNSSEC

2011-05-27 Thread Nick Milas
On 27/5/2011 12:59 πμ, fredrik danerklint wrote: Hopefully Bert can answer better than I can on this. Have you read the documentation about writeing a backend? http://doc.powerdns.com/master-backends.html It says that the backend only needs to have these two function to functions as a master b

Re: [Pdns-users] MongoDB Backend merged Re: Mongo DB and PowerDNS part 3: Now with DNSSEC

2011-05-27 Thread Jan-Piet Mens
> I may have to find time to read a bit about programming in C. If it were C, I could help you a bit -- the last time I looked (admittedly a few years ago), PowerDNS was written in C++ ;-) -JP ___ Pdns-users mailing list Pdns-users@mailman.power

Re: [Pdns-users] MongoDB Backend merged Re: Mongo DB and PowerDNS part 3: Now with DNSSEC

2011-05-27 Thread Nick Milas
On 27/5/2011 10:16 πμ, Jan-Piet Mens wrote: If it were C, I could help you a bit -- the last time I looked (admittedly a few years ago), PowerDNS was written in C++ ;-) Thank you. Very kind of you. It must be C++. Unfortunately, I am unfamiliar with both (C, C++). I am an old tech guy: FOR

Re: [Pdns-users] MongoDB Backend merged Re: Mongo DB and PowerDNS part 3: Now with DNSSEC

2011-05-29 Thread fredrik danerklint
> So, please, be so kind as to answer one more question: When PDNS queries > backends for updated serials, does it provide them with a list of the > 'notified_serial's (as per your explanation in a previous post of > yours), that is, a list of all serials which it has previously used in > notificat

Re: [Pdns-users] MongoDB Backend merged Re: Mongo DB and PowerDNS part 3: Now with DNSSEC

2011-05-30 Thread bert hubert
On Sun, May 29, 2011 at 03:34:01PM +0200, fredrik danerklint wrote: > Until Bert has applied the patch that I sent him, you need to apply the > following to get masterfunctionallity to work with MongoDB backend: It has been merged (and is available on powerdnssec.org/downloads). Bert ___