From: Aki Tuomi Date: Sat, 1 Jun 2013 18:30:16 +0000 (+0300) Subject: Support for superMaster, slaving and soa calculations X-Git-Tag: rec-3.6.0-rc1~698^2^2~15 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a0a6244842c914366be7d6aca4902923b75f5e35;p=thirdparty%2Fpdns.git Support for superMaster, slaving and soa calculations --- diff --git a/modules/remotebackend/remotebackend.hh b/modules/remotebackend/remotebackend.hh index 7bc02b71e3..9efb03779e 100644 --- a/modules/remotebackend/remotebackend.hh +++ b/modules/remotebackend/remotebackend.hh @@ -111,6 +111,16 @@ class RemoteBackend : public DNSBackend virtual bool getDomainInfo(const string&, DomainInfo&); virtual void setNotified(uint32_t id, uint32_t serial); virtual bool doesDNSSEC(); + virtual bool GSQLBackend::superMasterBackend(const string &ip, const string &domain, const vector&nsset, string *account, DNSBackend **ddb); + virtual bool GSQLBackend::createSlaveDomain(const string &ip, const string &domain, const string &account); + virtual bool GSQLBackend::replaceRRSet(uint32_t domain_id, const string& qname, const QType& qt, const vector& rrset); + virtual bool GSQLBackend::feedRecord(const DNSResourceRecord &r, string *ordername); + virtual bool GSQLBackend::feedEnts(int domain_id, set& nonterm); + virtual bool GSQLBackend::feedEnts3(int domain_id, const string &domain, set &nonterm, unsigned int times, const string &salt, bool narrow); + virtual bool GSQLBackend::startTransaction(const string &domain, int domain_id); + virtual bool GSQLBackend::commitTransaction(); + virtual bool GSQLBackend::abortTransaction(); + virtual bool GSQLBackend::calculateSOASerial(const string& domain, const SOAData& sd, time_t& serial); static DNSBackend *maker();