Question() : type(QUERY_NONE) { }
Question(const std::string& n, QueryType t) : name(n), type(t) { }
bool operator==(const Question& other) const { return ((name == other.name) && (type == other.type)); }
Question() : type(QUERY_NONE) { }
Question(const std::string& n, QueryType t) : name(n), type(t) { }
bool operator==(const Question& other) const { return ((name == other.name) && (type == other.type)); }
Query() : error(ERROR_NONE), cached(false) { }
Query(const Question& q) : question(q), error(ERROR_NONE), cached(false) { }
Query() : error(ERROR_NONE), cached(false) { }
Query(const Question& q) : question(q), error(ERROR_NONE), cached(false) { }
Request(Manager* mgr, Module* mod, const std::string& addr, QueryType qt, bool usecache = true)
: Timer((ServerInstance->Config->dns_timeout ? ServerInstance->Config->dns_timeout : 5))
Request(Manager* mgr, Module* mod, const std::string& addr, QueryType qt, bool usecache = true)
: Timer((ServerInstance->Config->dns_timeout ? ServerInstance->Config->dns_timeout : 5))