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

Yes. Everytime PowerDNS asks a backend it will get back a list of domains that 
has a different notified_serial than the serial for the domain.

It's the seventh linefrom bottom in the file private.cc that has the "logic" 
for including a domain to that list.

Until Bert has applied the patch that I sent him, you need to apply the 
following to get masterfunctionallity to work with MongoDB backend:

Index: private.cc
===================================================================
--- private.cc  (revision 2199)
+++ private.cc  (arbetskopia)
@@ -28,6 +28,7 @@
            
        di->id = mongo_r->getIntField("domain_id");
        di->last_check = mongo_r->getIntField("last_check");
+       di->notified_serial = mongo_r->getIntField("notified_serial");
 
        if (soadata == NULL) 
            for( bson::bo::iterator i(mongo_r->getObjectField("masters")); 
i.more(); ) {


-- 
//fredan
_______________________________________________
Pdns-users mailing list
Pdns-users@mailman.powerdns.com
http://mailman.powerdns.com/mailman/listinfo/pdns-users

Reply via email to