Anope IRC Services  Version 2.0
Data Structures | Namespaces | Enumerations
dns.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  DNS::Question
 
struct  DNS::Question::hash
 
struct  DNS::ResourceRecord
 
struct  DNS::Query
 
class  DNS::Manager
 
class  DNS::Request
 

Namespaces

 DNS
 

Enumerations

enum  DNS::QueryType {
  DNS::QUERY_NONE, DNS::QUERY_A = 1, DNS::QUERY_NS = 2, DNS::QUERY_CNAME = 5,
  DNS::QUERY_SOA = 6, DNS::QUERY_PTR = 12, DNS::QUERY_AAAA = 28, DNS::QUERY_AXFR = 252,
  DNS::QUERY_ANY = 255
}
 
enum  {
  DNS::QUERYFLAGS_QR = 0x8000, DNS::QUERYFLAGS_OPCODE = 0x7800, DNS::QUERYFLAGS_OPCODE_NOTIFY = 0x2000, DNS::QUERYFLAGS_AA = 0x400,
  DNS::QUERYFLAGS_TC = 0x200, DNS::QUERYFLAGS_RD = 0x100, DNS::QUERYFLAGS_RA = 0x80, DNS::QUERYFLAGS_Z = 0x70,
  DNS::QUERYFLAGS_RCODE = 0xF
}
 
enum  DNS::Error {
  DNS::ERROR_NONE, DNS::ERROR_UNKNOWN, DNS::ERROR_UNLOADED, DNS::ERROR_TIMEDOUT,
  DNS::ERROR_NOT_AN_ANSWER, DNS::ERROR_NONSTANDARD_QUERY, DNS::ERROR_FORMAT_ERROR, DNS::ERROR_SERVER_FAILURE,
  DNS::ERROR_DOMAIN_NOT_FOUND, DNS::ERROR_NOT_IMPLEMENTED, DNS::ERROR_REFUSED, DNS::ERROR_NO_RECORDS,
  DNS::ERROR_INVALIDTYPE
}