private void logVersion(final QueryExecutorConfiguration configuration) throws IOException {
   final DummyWhoisClient client =
       new DummyWhoisClient(configuration.getHost(), configuration.getPort());
   final String response = client.sendQuery("-q version");
   final Matcher matcher = WHOIS_SERVER_PATTERN.matcher(response);
   if (!matcher.find()) {
     throw new RuntimeException(
         "version string not found in whois query response of " + configuration.getIdentifier());
   }
   LOGGER.warn(
       " ***** Server {} is running version {} ***** ",
       configuration.getIdentifier(),
       matcher.group(1));
 }
 public NrtmQueryExecutor(final QueryExecutorConfiguration configuration)
     throws UnknownHostException {
   super(
       configuration,
       new TelnetWhoisClient(configuration.getHost(), configuration.getNrtmPort()));
 }