phoenixframework/dns_cluster
58.5
Adequate · 15 November 2026
259
lines of production code
Elixir
primary language
5
measurements over time
What this system is
This system is a library for Erlang/Elixir node discovery that enables clusters to locate and connect to remote nodes via DNS. It supports querying multiple domains and utilizes A, AAAA, and SRV records to facilitate flexible cluster formation. The codebase includes comprehensive validation tests for these discovery mechanisms and maintains updated documentation and dependency standards.
Features
Support for multiple DNS queries and SRV records
The DNS cluster discovery mechanism now supports passing a list of queries to discover nodes across multiple domains, and allows specifying a custom basename for remote nodes via a \{basename, query}\ tuple. It also introduces a new \:resource\_types\ option (defaulting to \\[:a, :aaaa\]\) that enables the use of \:srv\ DNS records for node discovery, expanding how nodes are located and connected.
lib · high confidence
Test coverage
Added tests for DNSCluster query and resource type validation
Added comprehensive tests for the DNSCluster module, covering the validation of the :query option (accepting strings, {basename, query} tuples, and lists, while rejecting invalid terms), the handling of differing basenames in queries, and the validation of the :resource\_types option (ensuring it is a non-empty subset of \[:a, :aaaa, :srv\]).
test · high confidence
Dependencies
Update Elixir requirement and documentation tooling
The minimum supported Elixir version has been raised from 1.6 to 1.11, and the project now includes its CHANGELOG in the generated documentation via ExDoc. Additionally, the lockfile reflects upgrades to ExDoc (0.30.2 to 0.40.4), EarmarkParser (1.4.33 to 1.4.46), Makeup (1.1.0 to 1.2.2), MakeupElixir (0.16.1 to 1.0.1), MakeupErlang (0.1.2 to 1.1.0), and NimbleParsec (1.3.1 to 1.4.2).
(dependencies) · high confidence
Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.
How this codebase got here
Score
- CAI 58 → 58 (+0.0)
- Rubric changed (rubric-2026.10.5 → rubric-2026.11.4) — scores are not directly comparable.
Lenses
- Code Health 100 → 100 (+0.0)
- Architecture 69 → 69 (+0.0)
- Maturity 54 → 54 (+0.0)
- Readiness 47 → 47 (+0.0)
- Security 100 → 100 (+0.0)
Findings
- No change — the same findings as the prior survey.
Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.
Survey your own repository
phoenixframework/dns_cluster was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point a surveyor at a repository you know and see whether you agree with it.
About this page
- The score is its most recent published measurement, taken on 15 November 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
- Measured at commit f7375d63b782fb9be911129fea8506b9643326ac — the exact code this score is about.
- Scored under rubric-2026.11.4 — the same rubric and the same method as every other entry in this index.
- Measured by Canine Code Analyzer (cca.canine.dev) using cca measure-2026.11.65+preprod-3c33c1882dc1.