Alternatives Comparison
Leng overlaps with a few other solutions in terms of providing DNS sinkholing for advertisements, as well as custom DNS. This pages aims to clarify how leng compares to these other solutions.
TLDR: Leng is suitable for a simple DNS server that serves custom records and blocks ads. It is designed to be small and easily scriptable (like Blocky), whereas Adguard, PiHole, etc are more comprehensive solutions that include many more features but are not stateless, and are likely to have a larger fingerprint.
This is by all means not a comprehensive list. Note I have not tried every single of these alternatives, so some information might be outdated or plain wrong - if so please submit a PR to correct it if you find it so.
Trait | Leng | Blocky | Adguard | PiHole | CoreDNS |
---|---|---|---|---|---|
Blocklist-basd blocking (remote fetch) | ✅ | ✅ | ✅ | ❌ ish | ❌ |
Custom DNS records support | ✅ | ❌ ish (only rewrites) | ❌ ish | ✅ ish via dnsmasq (no templating) | ✅ |
RAM footprint | 50MB with traffic + DoH | 150MB | 512MB | 250MB but depends heavily on plugins | |
Ease of use | Config file | Config file | Config file + Web UI | Web UI | Config file |
Parental controls | Through parental blocklists | Through parental blocklists | ✅ | ✅ | ❌ |
DNS-over-HTTPS server | ✅ | ✅ | ✅ | ✅ | ❌ |
DNS-over-HTTPS upstream proxy | ✅ | ✅ | ✅ | ✅ | ✅ |
Stateless (all config as files) | ✅ | ✅ | ❌ | ❌ | ✅ |
Running rootless | ✅ | ✅ | ✅ | ❌ | ✅ |
Prometheus metrics API | ✅ | ✅ | ❌ see PR | ❌ but exporter exists | ✅ via plugin |
Per device config | ❌ | ✅ via client groups | ✅ | ✅ | ✅ via plugins |
DHCP Server (Assigns IPs to devices) | ❌ | ❌ | ✅ | ✅ | ❌ |
Fancy Web UI | ❌ | ❌ | ✅ | ✅ | ❌ |