code: @Override
      public String getDefaultHostname() {
          final String hostname = varReg.resolveString(VAR_DEFAULTHOSTNAME);
          // If we have no specified host name (we get the raw variable back), or the host name is empty, default to localhost
          if (VAR_DEFAULTHOSTNAME.equals(hostname) || hostname.trim().isEmpty()) {
              return "localhost";
          } else if ("*".equals(hostname)) {
              return null; // Carried over behaviour from CollectiveHostName
          } else {
              return hostname.toLowerCase();
          }
      }
docs: {@inheritDoc}