public static String validateHost(String host) {
    try {
      return validateHostOrThrow(host);
    } catch (UnknownHostException e) {
      return null;
    }
  }
Validates the host by making sure it can successfully be used to get an instance of
InetAddress. Any leading slashes on host will be ignored. If the host string is null, empty or
would result in {@code java.lang.UnknownHostException} then null is returned.

@param host The string version the InetAddress

@return The host converted to InetAddress instance
geode-core/src/main/java/org/apache/geode/admin/internal/InetAddressUtils.java