add dns resolver for mac os