public List<EthereumNodeRecord> collectAll() {
    final List<EthereumNodeRecord> nodes = new ArrayList<>();
    final DNSVisitor visitor = nodes::add;
    visitTree(new ENRTreeLink(enrLink), visitor);
    if (!nodes.isEmpty()) {
      LOG.debug("Resolved {} nodes from DNS for enr link {}", nodes.size(), enrLink);
    } else {
      LOG.debug("No nodes resolved from DNS");
    }
    return Collections.unmodifiableList(nodes);
  }
Convenience method to read all ENRs, from a top-level record.

@return all ENRs collected
ethereum/p2p/src/main/java/org/hyperledger/besu/ethereum/p2p/discovery/dns/DNSResolver.java