typedef std::pair<std::string, DnsIpProtocol> resolver_key_type;
typedef std::map<resolver_key_type, ResolverItem> resolver_map_type;
+std::string to_string(const DnsIpProtocol &protocol);
class DnsMaster : boost::noncopyable
{
ResolverItem& get_resolver_for(const std::string &hostname,
const PingProtocol &ping_protocol);
ResolverItem& get_resolver_for(const std::string &hostname,
- const DnsIpProtocol &protocol)
+ const DnsIpProtocol &protocol);
ResolverItem get_recursor_for(const std::string &hostname,
const DnsIpProtocol &protocol,
const boost::asio::ip::address &name_server);