Scriptable GeoDNS: leaving AWS for Bunny
Web page · https://vincent.bernat.ch/en/blog/2026-bunny-geodns
First seen by Oriel on .
AI summary
The author replaced Amazon CloudFront and Route 53 with bunny.net and a scriptable GeoDNS setup, reducing monthly costs from US$5 to US$1 while maintaining comparable performance.
- Bunny DNS runs user-supplied JavaScript per query, selecting healthy servers by geographic distance across seven NixOS virtual machines worldwide.
- The hybrid routing script returns two nearby servers with a one-hour TTL, but only one with a two-minute TTL when the alternative is substantially farther away.
- HTTPS DNS records could express prioritized fallback, but Chrome target restrictions and missing additional-section IP addresses make the approach impractical.
- Bunny CDN supports format-specific caching for AVIF and WebP, but lacks HTTP/3; Bunny DNS also cannot publish DS records.
- Hickory DNS handles DNS-01 ACME challenges through signed dynamic updates, while deSEC hosts luffy.cx so the delegated zone can publish a DS record.
#bunny.net #geodns #dnssec #nixos
Generated by gpt-5.6-sol. Check the original for details.
Metric trends
Last 30 days · Up to 120 recorded samples per source and metric, with reposts kept separate · First and latest retained
Points
Score reported by the source.
- Hacker News: 66, latest observation ; +58 over observed period since
- Lobsters: 25, latest observation ; +22 over observed period since
Comments
Comment count reported by the source.
- Hacker News: 23, latest observation ; +23 over observed period since
- Lobsters: 13, latest observation ; +12 over observed period since
Aliases
| Source | External ID | URL |
|---|---|---|
| Hacker News | 50394292 | https://vincent.bernat.ch/en/blog/2026-bunny-geodns Read discussion |
| Lobsters | jsvlfm | https://vincent.bernat.ch/en/blog/2026-bunny-geodns Read discussion |