mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2024-12-30 09:48:54 +00:00
19 lines
308 B
C++
19 lines
308 B
C++
#ifndef MAC_DNS_HELPER
|
|
#define MAC_DNS_HELPER
|
|
|
|
#include <vector>
|
|
#include "../node/InetAddress.hpp"
|
|
|
|
namespace ZeroTier {
|
|
|
|
class MacDNSHelper
|
|
{
|
|
public:
|
|
static void setDNS(uint64_t nwid, const char *domain, const std::vector<InetAddress> &servers);
|
|
static void removeDNS(uint64_t nwid);
|
|
};
|
|
|
|
}
|
|
|
|
#endif
|