]> git.ipfire.org Git - thirdparty/pdns.git/blobdiff - pdns/ueberbackend.hh
auth: switch circleci mssql image
[thirdparty/pdns.git] / pdns / ueberbackend.hh
index 9ce54b0c1aa1dd2f6af03a96d3bf777af82ecbdd..658c43590fe8fc730d6eca4d5834ba984d6f250a 100644 (file)
@@ -61,6 +61,7 @@ public:
   static pthread_mutex_t instances_lock;
 
   static bool loadmodule(const string &name);
+  static bool loadModules(const vector<string>& modules, const string& path);
 
   static void go(void);
 
@@ -101,15 +102,14 @@ public:
   /** Determines if we are authoritative for a zone, and at what level */
   bool getAuth(const DNSName &target, const QType &qtype, SOAData* sd, bool cachedOk=true);
   bool getSOA(const DNSName &domain, SOAData &sd);
-  /** Load SOA info from backends, ignoring the cache. Callers that will write to the backend should use this
-   * function, possibly setting unmodifiedSerial=true when editing the SOA Serial. */
-  bool getSOAUncached(const DNSName &domain, SOAData &sd, bool unmodifiedSerial=false);
+  /** Load SOA info from backends, ignoring the cache.*/
+  bool getSOAUncached(const DNSName &domain, SOAData &sd);
   bool get(DNSZoneRecord &r);
   void getAllDomains(vector<DomainInfo> *domains, bool include_disabled=false);
 
   void getUnfreshSlaveInfos(vector<DomainInfo>* domains);
   void getUpdatedMasters(vector<DomainInfo>* domains);
-  bool getDomainInfo(const DNSName &domain, DomainInfo &di);
+  bool getDomainInfo(const DNSName &domain, DomainInfo &di, bool getSerial=true);
   bool createDomain(const DNSName &domain);
   
   bool doesDNSSEC();