MacDNSHelper.hpp 308 B

123456789101112131415161718
  1. #ifndef MAC_DNS_HELPER
  2. #define MAC_DNS_HELPER
  3. #include <vector>
  4. #include "../node/InetAddress.hpp"
  5. namespace ZeroTier {
  6. class MacDNSHelper
  7. {
  8. public:
  9. static void setDNS(uint64_t nwid, const char *domain, const std::vector<InetAddress> &servers);
  10. static void removeDNS(uint64_t nwid);
  11. };
  12. }
  13. #endif