docs: private static Set<String> getEC2DiscoveryUrlsFromZone(String dnsName, DiscoveryUrlType type) {
          Set<String> eipsForZone;
          try {
              dnsName = "txt." + dnsName;
              LOG.debug("The zone url to be looked up is {} :", dnsName);
              Set<String> ec2UrlsForZone = DnsResolver.getCNamesFromTxtRecord(dnsName);
              for (String ec2Url : ec2UrlsForZone) {
                  LOG.debug("The eureka url for the dns name {} is {}", dnsName, ec2Url);
                  ec2UrlsForZone.add(ec2Url);
              }
              if (DiscoveryUrlType.CNAME.equals(type)) {
                  return ec2UrlsForZone;
              }
              eipsForZone = new TreeSet<>();
              for (String cname : ec2UrlsForZone) {
                  String[] tokens = cname.split("\\.");
                  String ec2HostName = tokens[0];
                  String[] ips = ec2HostName.split("-");
                  StringBuilder eipBuffer = new StringBuilder();
                  for (int ipCtr = 1; ipCtr < 5; ipCtr++) {
                      eipBuffer.append(ips[ipCtr]);
                      if (ipCtr < 4) {
                          eipBuffer.append(".");
                      }
                  }
                  eipsForZone.add(eipBuffer.toString());
              }
              LOG.debug("The EIPS for {} is {} :", dnsName, eipsForZone);
          } catch (Throwable e) {
              throw new RuntimeException("Cannot get cnames bound to the region:" + dnsName, e);
          }
          return eipsForZone;
      }