Changeset 1950

Show
Ignore:
Timestamp:
01/31/11 14:08:24 (2 years ago)
Author:
ahu
Message:

implement slave-renotify for front-signing operation with renotification of the actual slaves

Location:
trunk/pdns/pdns
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/pdns/pdns/common_startup.cc

    r1868 r1950  
    118118 
    119119  ::arg().set("trusted-notification-proxy", "IP address of incoming notification proxy")=""; 
     120  ::arg().set("slave-renotify", "If we should send out notifications for slaved updates")="no"; 
    120121 
    121122  ::arg().set("default-ttl","Seconds a result is valid if not set otherwise")="3600"; 
  • trunk/pdns/pdns/slavecommunicator.cc

    r1942 r1950  
    161161    di.backend->setFresh(domain_id); 
    162162    L<<Logger::Error<<"AXFR done for '"<<domain<<"', zone committed"<<endl; 
     163    if(::arg().mustDo("slave-renotify")) 
     164      notifyDomain(domain); 
    163165  } 
    164166  catch(DBException &re) {