public static String getLocalHostName() throws UnknownHostException {
    return getLocalHost().getHostName();
  }
Converts the string host to an instance of InetAddress. Returns null if the string is empty.
Fails Assertion if the conversion would result in <code>java.lang.UnknownHostException</code>.
<p>
Any leading slashes on host will be ignored.

@param host string version the InetAddress

@return the host converted to InetAddress instance

@throws IllegalArgumentException in lieu of UnknownHostException
geode-common/src/main/java/org/apache/geode/internal/inet/LocalHostUtil.java