Decision Workspace
crab-hole vs trust-dns-resolver vs trust-dns
Side-by-side comparison of Rust crates
Pi-Hole clone written in rust using hickory-dns/trust-dns
Trust-DNS is a safe and secure DNS library. This Resolver library uses the Client library to perform all DNS queries. The Resolver is intended to be a high-level library for any DNS record resolution see Resolver and AsyncResolver for supported resolution types. The Client can be used for other queries.
Trust-DNS is a safe and secure DNS server with DNSSEC support. Eventually this could be a replacement for BIND9. The DNSSEC support allows for live signing of all records, in it does not currently support records signed offline. The server supports dynamic DNS with SIG0 authenticated requests. Trust-DNS is based on the Tokio and Futures libraries, which means it should be easily integrated into other software that also use those libraries.
Core Metrics
| crab-hole | trust-dns-resolver | trust-dns | |
|---|---|---|---|
| Health Score | 38 | 60 | 58 |
| Total Downloads | 14.9K | 51.4M | 426.5K |
| 30d Downloads | 18 | 956.6K | 3.0K |
| Dependents | 0 | 3.1K | 167 |
| Releases | 13 | 62 | 81 |
| Last Updated | 443d ago | 886d ago | 886d ago |
| Age | 2y 10m | 8y 9m | 10y 6m |
Health Breakdown
Technical Details
| crab-hole | trust-dns-resolver | trust-dns | |
|---|---|---|---|
| Version | 0.1.12 | 0.23.2 | 0.23.2 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | AGPL-3.0-or-later | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 30 | 22 | 15 |
| Crate Size | 49KB | 89KB | 36KB |
| Features | 4 | 15 | 15 |
| Yanked % | 0.0% | 1.6% | 0.0% |
| Edition | 2021 | 2021 | 2021 |
| MSRV | — | 1.64.0 | 1.64.0 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •trust-dns-resolver leads with a health score of 60/100, but none of the options score above 80.
- •trust-dns-resolver is depended on by 3.1K crates — strongest ecosystem trust.
- •⚠ crab-hole, trust-dns-resolver, trust-dns have not been updated in over a year.