Main Page | Modules | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

Dns Namespace Reference


Classes

class  DnsLabel
struct  _tagheader

Typedefs

typedef Dns::_tagheader DNSHEADER
typedef std::list< Url >(* GetDns )(void)
typedef DNSHEADER *(* SendRequest )(DNSTYPE, const std::string &, void *, size_t)

Enumerations

enum  DNSTYPE { MX = 0, TEXT = 1, NS = 2, HINFO = 3 }

Functions

Url resolveIP (const Url &what, const std::string &s="in-addr.arpa") throw (net_error)
Url resolve (const Url &url) throw (net_error)
std::string comments (const std::string &what, const std::string &where) throw (net_error)
std::string comments (const Url &what, const std::string &s="in-addr.arpa") throw (net_error)
std::string comments (const std::string &what) throw (net_error)
std::string hostinfo (const std::string &what, const std::string &where) throw (net_error)
std::string hostinfo (const std::string &what) throw (net_error)
std::list< UrlresolveDNS (const Url &url) throw (net_error)
std::list< UrlresolveMX (const Url &url) throw (net_error)
std::list< UrlresolveMX (const std::string &host) throw (net_error)
Url checkDNSBL (const Url &what, const std::string &dnsblname, std::string *comments=NULL) throw (net_error)
string reverseIP (const in_addr &addr, const string &postpone)
Url resolveIP (const Url &what, const string &where) throw (net_error)
char * gotoAnswer (DNSHEADER *pHeader)
char * gotoRData (char *pAnswer, DNSHEADER *pHeader)
list< UrlgetDnsLinux ()
DNSHEADERsendRequest98 (DNSTYPE dnstype, const string &what, void *bufferout, size_t sizeofbuffer) throw (net_error)
string comments (const string &what, const string &where) throw (net_error)
string comments (const Url &what, const string &where) throw (net_error)
string comments (const string &what) throw (net_error)
string hostinfo (const string &what, const string &where) throw (net_error)
string hostinfo (const string &what) throw (net_error)
std::list< UrlresolveMX (const string &host) throw (net_error)
Url checkDNSBL (const Url &what, const string &zone, string *comm) throw (net_error)
DNSHEADERsendRequest98 (DNSTYPE, const std::string &, void *, size_t) throw (net_error)

Variables

SendRequest sendRequest = sendRequest98
GetDns getDns = getDnsLinux


Typedef Documentation

typedef struct Dns::_tagheader Dns::DNSHEADER
 

typedef std::list<Url>(* Dns::GetDns)(void)
 

typedef DNSHEADER*(* Dns::SendRequest)(DNSTYPE, const std::string &, void *, size_t)
 


Enumeration Type Documentation

enum Dns::DNSTYPE
 

Enumerator:
MX 
TEXT 
NS 
HINFO 


Function Documentation

Url Dns::checkDNSBL const Url what,
const string &  zone,
string *  comm
throw (net_error)
 

Url Dns::checkDNSBL const Url what,
const std::string &  dnsblname,
std::string *  comments = NULL
throw (net_error)
 

string Dns::comments const string &  what  )  throw (net_error)
 

string Dns::comments const Url what,
const string &  where
throw (net_error)
 

string Dns::comments const string &  what,
const string &  where
throw (net_error)
 

std::string Dns::comments const std::string &  what  )  throw (net_error)
 

std::string Dns::comments const Url what,
const std::string &  s = "in-addr.arpa"
throw (net_error)
 

std::string Dns::comments const std::string &  what,
const std::string &  where
throw (net_error)
 

std::list< Url > Dns::getDnsLinux  ) 
 

char* Dns::gotoAnswer DNSHEADER pHeader  ) 
 

char* Dns::gotoRData char *  pAnswer,
DNSHEADER pHeader
 

string Dns::hostinfo const string &  what  )  throw (net_error)
 

string Dns::hostinfo const string &  what,
const string &  where
throw (net_error)
 

std::string Dns::hostinfo const std::string &  what  )  throw (net_error)
 

std::string Dns::hostinfo const std::string &  what,
const std::string &  where
throw (net_error)
 

Url Dns::resolve const Url url  )  throw (net_error)
 

std::list< Url > Dns::resolveDNS const Url url  )  throw (net_error)
 

Url Dns::resolveIP const Url what,
const string &  where
throw (net_error)
 

Url Dns::resolveIP const Url what,
const std::string &  s = "in-addr.arpa"
throw (net_error)
 

std::list<Url> Dns::resolveMX const string &  host  )  throw (net_error)
 

std::list<Url> Dns::resolveMX const std::string &  host  )  throw (net_error)
 

std::list< Url > Dns::resolveMX const Url url  )  throw (net_error)
 

string Dns::reverseIP const in_addr &  addr,
const string &  postpone
 

DNSHEADER* Dns::sendRequest98 DNSTYPE  ,
const std::string &  ,
void *  ,
size_t 
throw (net_error)
 

DNSHEADER* Dns::sendRequest98 DNSTYPE  dnstype,
const string &  what,
void *  bufferout,
size_t  sizeofbuffer
throw (net_error)
 


Variable Documentation

GetDns Dns::getDns = getDnsLinux
 

SendRequest Dns::sendRequest = sendRequest98
 


Generated on Thu Jun 16 00:13:15 2005 for Netlib for Abuse! by  doxygen 1.4.3