void lookup(const QType &qtype, const DNSName &qname, DNSPacket *p, int domain_id) override;
bool get(DNSResourceRecord &rr) override;
//! fills the soadata struct with the SOA details. Returns false if there is no SOA.
- bool getSOA(const DNSName &name, SOAData &soadata);
+ bool getSOA(const DNSName &name, SOAData &soadata) override;
// MASTER BACKEND
- void getUpdatedMasters(vector<DomainInfo>* domains);
- void setNotified(int id, uint32_t serial);
+ void getUpdatedMasters(vector<DomainInfo>* domains) override;
+ void setNotified(uint32_t id, uint32_t serial) override;
// SLAVE BACKEND
#include "pdns/logger.hh"
#include "pdns/arguments.hh"
-/*
- virtual void getUpdatedMasters(vector<DomainInfo>* domains);
- virtual void setNotified(int id, uint32_t serial);
-*/
-
void LUABackend::getUpdatedMasters(vector<DomainInfo>* domains) {
if (f_lua_getupdatedmasters == 0)
L << Logger::Info << backend_name << "(getUpdatedMasters) END" << endl;
}
-void LUABackend::setNotified(int id, uint32_t serial) {
+void LUABackend::setNotified(uint32_t id, uint32_t serial) {
if (f_lua_setnotified == 0)
return;