private static String getCanonicalHostName() {
    try {
      return InetAddress.getLocalHost().getCanonicalHostName();
    } catch (UnknownHostException e) {
      throw new UncheckedIOException(e);
    }
  }
Returns {@code InetAddress.getLocalHost().getCanonicalHostName()}.

@return the canonical host name
@throws UncheckedIOException if underlying call threw {@code UnknownHostException}.
geode-dunit/src/main/java/org/apache/geode/test/dunit/NetworkUtils.java