code: public final Future<InetAddress> resolve(String inetHost, Iterable<DnsRecord> additionals,
                                               Promise<InetAddress> promise) {
          checkNotNull(promise, "promise");
          DnsRecord[] additionalsArray = toArray(additionals, true);
          try {
              doResolve(inetHost, additionalsArray, promise, resolveCache);
              return promise;
          } catch (Exception e) {
              return promise.setFailure(e);
          }
      }
docs: Resolves the specified name into an address.
  
  @param inetHost the name to resolve
  @param additionals additional records ({@code OPT})
  @param promise the {@link Promise} which will be fulfilled when the name resolution is finished
  
  @return the address as the result of the resolution