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

Dns.h

Go to the documentation of this file.
00001 #ifndef ZEDNS
00002 #define ZEDNS
00003 #include <abuse/abuse.h>
00004 #include <abuse/Url.h>
00005 #include <string>
00006 #include <abuse/net_error.h>
00007 #include <list>
00008 
00009 namespace Dns
00010 {
00011         Url resolveIP(const Url& what,const std::string& s="in-addr.arpa")throw(net_error);
00012         Url resolve(const Url& url)throw(net_error);
00013         std::string comments(const std::string& what,const std::string& where)throw(net_error);
00014         std::string comments(const Url& what,const std::string& s="in-addr.arpa")throw(net_error);
00015         std::string comments(const std::string& what)throw(net_error);
00016         std::string hostinfo(const std::string& what,const std::string& where)throw(net_error);
00017         std::string hostinfo(const std::string& what)throw(net_error);
00018         std::list<Url> resolveDNS(const Url& url)throw(net_error);
00019         std::list<Url> resolveMX(const Url& url)throw(net_error);
00020         std::list<Url> resolveMX(const std::string& host)throw(net_error);
00021         Url checkDNSBL(const Url& what,const std::string& dnsblname,std::string* comments=NULL)throw(net_error);
00022 }
00023 
00024 #endif //ZEDNS

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