]> granicus.if.org Git - pdns/commitdiff
introduce DNSBackend::deleteDomain
authorChristian Hofstaedtler <christian@hofstaedtler.name>
Fri, 27 Sep 2013 16:03:35 +0000 (18:03 +0200)
committerChristian Hofstaedtler <christian@hofstaedtler.name>
Fri, 27 Sep 2013 16:05:44 +0000 (18:05 +0200)
pdns/dnsbackend.hh

index a95a9f6b86fad2518eb0b92f91e44b39cc47abee..8472787f106eb83cfcd1ec42db621734f1dce354 100644 (file)
@@ -314,6 +314,12 @@ public:
     return false;
   }
 
+  //! called to delete a domain, incl. all metadata, zone contents, etc.
+  virtual bool deleteDomain(const string &domain)
+  {
+    return false;
+  }
+
 protected:
   bool mustDo(const string &key);
   const string &getArg(const string &key);