DNS config support on macOS
This commit is contained in:
parent
d2708daa8e
commit
302ac8fefe
6 changed files with 166 additions and 2 deletions
20
osdep/MacDNSHelper.hpp
Normal file
20
osdep/MacDNSHelper.hpp
Normal file
|
@ -0,0 +1,20 @@
|
|||
#ifndef MAC_DNS_HELPER
|
||||
#define MAC_DNS_HELPER
|
||||
|
||||
#include <vector>
|
||||
#include "../node/InetAddress.hpp"
|
||||
|
||||
namespace ZeroTier {
|
||||
|
||||
class MacDNSHelper
|
||||
{
|
||||
public:
|
||||
static void doTheThing();
|
||||
|
||||
static void setDNS(uint64_t nwid, const char *domain, const std::vector<InetAddress> &servers);
|
||||
static void removeDNS(uint64_t nwid);
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue