Anope IRC Services  Version 2.0
Data Structures | Enumerations
DNS Namespace Reference

Data Structures

class  Manager
 
struct  Query
 
struct  Question
 
class  ReplySocket
 
class  Request
 
struct  ResourceRecord
 

Enumerations

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

Enumeration Type Documentation

anonymous enum

Flags that can be AND'd into DNSPacket::flags to receive certain values

Enumerator
QUERYFLAGS_QR 
QUERYFLAGS_OPCODE 
QUERYFLAGS_OPCODE_NOTIFY 
QUERYFLAGS_AA 
QUERYFLAGS_TC 
QUERYFLAGS_RD 
QUERYFLAGS_RA 
QUERYFLAGS_Z 
QUERYFLAGS_RCODE 

Definition at line 44 of file dns.h.

enum DNS::Error
Enumerator
ERROR_NONE 
ERROR_UNKNOWN 
ERROR_UNLOADED 
ERROR_TIMEDOUT 
ERROR_NOT_AN_ANSWER 
ERROR_NONSTANDARD_QUERY 
ERROR_FORMAT_ERROR 
ERROR_SERVER_FAILURE 
ERROR_DOMAIN_NOT_FOUND 
ERROR_NOT_IMPLEMENTED 
ERROR_REFUSED 
ERROR_NO_RECORDS 
ERROR_INVALIDTYPE 

Definition at line 57 of file dns.h.

Valid query types

Enumerator
QUERY_NONE 
QUERY_A 
QUERY_NS 
QUERY_CNAME 
QUERY_SOA 
QUERY_PTR 
QUERY_AAAA 
QUERY_AXFR 
QUERY_ANY 

Definition at line 20 of file dns.h.