You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
308 B
18 lines
308 B
#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
|
|
|