libnick 2024.9.2
A cross-platform base for native Nickvision applications.
Loading...
Searching...
No Matches
dns.h
Go to the documentation of this file.
1
23#ifndef DNS_H
24#define DNS_H
25
26#include <string>
27#include <vector>
28#include "ipv4address.h"
29
31{
37 std::vector<IPv4Address> a(const std::string& hostname);
43 std::vector<std::string> txt(const std::string& hostname);
44}
45
46#endif //DNS_H
Definition dns.h:31
std::vector< std::string > txt(const std::string &hostname)
Gets text records for a hostname.
std::vector< IPv4Address > a(const std::string &hostname)
Resolves a hostname to IPv4 addresses.