code: private Collection<String> getEIPsForZoneFromDNS(String myZone) {
          List<String> ec2Urls = EndpointUtils.getServiceUrlsFromDNS(
                  clientConfig,
                  myZone,
                  true,
                  new EndpointUtils.InstanceInfoBasedUrlRandomizer(applicationInfoManager.getInfo())
          );
          return getEIPsFromServiceUrls(ec2Urls);
      }
docs: Get the list of EIPS from the DNS.
  
  <p>
  This mechanism looks for the EIP pool in the zone the instance is in by
  looking up the DNS name <code>{zone}.{region}.{domainName}</code>. The
  zone is fetched from the {@link InstanceInfo} object;the region is picked
  up from the specified configuration
  {@link com.netflix.discovery.EurekaClientConfig#getRegion()};the domain name is picked up from
  the specified configuration {@link com.netflix.discovery.EurekaClientConfig#getEurekaServerDNSName()}
  with a "txt." prefix (see {@link com.netflix.discovery.endpoint.EndpointUtils
  #getZoneBasedDiscoveryUrlsFromRegion(com.netflix.discovery.EurekaClientConfig, String)}.
  </p>
  
  @param myZone
  the zone where this instance exist in.
  @return the collection of EIPs that exist in the zone this instance is
  in.