Electroneum
dns_utils.h File Reference
#include <vector>
#include <string>
#include <functional>
#include <boost/optional/optional_fwd.hpp>
Include dependency graph for dns_utils.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  tools::DNSResolver
 Provides high-level access to DNS resolution. More...
 

Namespaces

 tools
 Various Tools.
 
 tools::dns_utils
 

Functions

std::string tools::dns_utils::address_from_txt_record (const std::string &s)
 
std::vector< std::string > tools::dns_utils::addresses_from_url (const std::string &url, bool &dnssec_valid)
 gets a electroneum address from the TXT record of a DNS entry More...
 
std::string tools::dns_utils::get_account_address_as_str_from_url (const std::string &url, bool &dnssec_valid, std::function< std::string(const std::string &, const std::vector< std::string > &, bool)> dns_confirm)
 
bool tools::dns_utils::load_txt_records_from_dns (std::vector< std::string > &good_records, const std::vector< std::string > &dns_urls, std::string type)
 
std::vector< std::string > tools::dns_utils::parse_dns_public (const char *s)