dns_utils: allow an optional DNS server IP in DNS_PUBLIC

tcp://a.b.c.d
This commit is contained in:
moneromooo-monero
2017-09-30 09:07:43 +01:00
parent 86e9de588c
commit a4b4651cb0
4 changed files with 56 additions and 7 deletions
+2
View File
@@ -167,6 +167,8 @@ std::string get_account_address_as_str_from_url(const std::string& url, bool& dn
bool load_txt_records_from_dns(std::vector<std::string> &records, const std::vector<std::string> &dns_urls);
std::string parse_dns_public(const char *s);
} // namespace tools::dns_utils
} // namespace tools