1
#ifndef MYSQLCBACKEND_HH
2
#define MYSQLCBACKEND_HH
7
#include "pdns/namespaces.hh"
12
/** The MySQLBackend is a DNSBackend that can answer DNS related questions. It looks up data
14
class MySQLBackend : public DNSBackend
17
MySQLBackend(const string &suffix="");
24
void lookup(const QType &, const string &qdomain, DNSPacket *p=0, int zoneId=-1);
25
bool list(const string &target, int domain_id);
26
bool get(DNSResourceRecord &r);
31
string sqlEscape(const string &nanme); //!< Escape ' and \ for SQL purposes
34
#endif /* MYSQLCBACKEND_HH */