add mdns2 require
isDarwin and isLinux