InspIRCd
2.0
|
#include <dns.h>
Public Member Functions | |
DNSResult (int i, const std::string &res, unsigned long timetolive, const std::string &orig, QueryType qt=DNS_QUERY_NONE) | |
Public Attributes | |
int | id |
std::string | result |
unsigned long | ttl |
std::string | original |
QueryType | type |
Result status, used internally
|
inline |
int DNSResult::id |
Result ID
std::string DNSResult::original |
The original request, a hostname or IP address
std::string DNSResult::result |
Result body, a hostname or IP address
unsigned long DNSResult::ttl |
Time-to-live value of the result
QueryType DNSResult::type |
The type of the request