docs: @Override
      public InetAddress[] resolve(String host) throws UnknownHostException {
  
          if (ipStringToBytes(host) != null) {
              return new InetAddress[] { InetAddress.getByAddress(ipStringToBytes(host)) };
          }
  
          List<InetAddress> inetAddresses = new ArrayList<>();
          try {
              resolve(host, inetAddresses);
          } catch (NamingException e) {
              throw new UnknownHostException(String.format("Cannot resolve %s to a hostname because of %s", host, e));
          }
  
          if (inetAddresses.isEmpty()) {
              throw new UnknownHostException(String.format("Cannot resolve %s to a hostname", host));
          }
  
          return inetAddresses.toArray(new InetAddress[inetAddresses.size()]);
      }