mediaaustin
Member
OP
Deliverability Nerd
- Joined:
- Jul 2024
- Posts:
- 276
- From:
- Austin, US
For what it's worth, I needed authoritative DNS for a small mail setup. SPF/DKIM/DMARC depend on reliable resolution; if your NS is down, your mail is suspect regardless of records.
Benchmarked on 256MB Contabo VPS — https://contabo.com/en/vps/:
- NSD 4.6.1: resident 3.8MB after 24h, 1.2MB RSS under load
- Knot 3.3: resident 7.4MB, 2.8MB RSS — but live reconfig without restart
- BIND 9.18: 41MB resident — excluded immediately
- Djbdns: would need proxy for DNSSEC, not tested
4MB difference between NSD and Knot. Knot's kcatalogzone and automatic DNSSEC signing cost RAM. For static zones, NSD wins.
Hot take: self-hosting authoritative makes sense for learning, not for availability. But the "just use Cloudflare" crowd often misunderstands — Cloudflare is recursive resolver infrastructure, their authoritative free tier has limits and you become their customer for support.
I run NSD secondary to my own hidden primary. 3 years uptime. Not because it's optimal, because I understand the failure modes.
Discussion welcome. Correct my methodology if wrong.
SPF, DKIM, DMARC — holy trinity ✉️
sofialund
Member
homelab heatstroke
- Joined:
- Jul 2024
- Posts:
- 140
- From:
- Buenos Aires, Argentina
¡the test very much scientific! The methodology the good one. But the server red, not the server cheap — the memory the only metric?
The dnssec the signing live, the knot the winner. ¡the 4MB the nothing in the server big, the everything in the server small!
hot air, steady hand, magic smoke
olespete
Member
Trust No One
- Joined:
- Jun 2024
- Posts:
- 270
- From:
- Unknown
4mb is 1.5% of 256mb. Who benchmarks this...
airgapped, encrypted, faraday'd, still worried
mediaaustin
Member
OP
Deliverability Nerd
- Joined:
- Jul 2024
- Posts:
- 276
- From:
- Austin, US
The live reconfig matters more than the RAM delta
Fair. I should have weighted operational features. My test was synthetic: single zone, no IXFR, no catalog.
For mail specifically the failure mode is "NS timeout causes sending MTA to tempfail or greylist." Cloudflare's 100% SLA on free tier is... not a contract you can enforce. But their anycast is 30ms from anywhere versus my 110ms from Nuremberg to São Paulo.
SPF, DKIM, DMARC — holy trinity ✉️
steveipw
Member
- Joined:
- Jun 2024
- Posts:
- 163
- From:
- Denver, US
ZFS ARC will eat that 4MB and not apologize. On 256MB you're running without ARC tuning or you're already swapped to death before DNS starts.
Run nsd. Or run FreeBSD with ZFS on 1GB minimum. Pick one.
zfs send | zfs receive. repeat.