code: private static String extractHost(String server) {
          String host = server.split(" ")[3];
          return host.replaceAll("\\\\.$", "");
      }
docs: Extracts host from the DNS record.
  <p>
  Sample record: "10 25 0 6235386366386436.my-release-hazelcast.default.svc.cluster.local".