# Bunny's scriptable GeoDNS cuts a blogger's AWS bill from $5 to $1 a month

Original title: Scriptable GeoDNS: Leaving AWS for Bunny

> Hacker News story 50394292 · language: en · submitted 2026-11-06
> Web version: https://zeli.app/story/50394292
> About this feed: https://zeli.app/llms.txt · Agent guide: https://zeli.app/skill.md

▲ 67 · by [sshah03](<https://news.ycombinator.com/user?id=sshah03>) · 💬 23
[original](<https://vincent.bernat.ch/en/blog/2026-bunny-geodns>) · [HN discussion](<https://news.ycombinator.com/item?id=50394292>)

## Summary

Vincent Bernat replaced Amazon CloudFront and Route 53 with Bunny CDN and Bunny DNS to serve his blog from seven NixOS VMs worldwide. Bunny's scriptable DNS runs user-supplied JavaScript on each query, letting him return the two nearest servers. Route 53's per-query geolocation fees and KMS costs pushed his bill from $5 to $1 monthly, with performance on par with AWS so far.

## Key quote

> When I discovered that Bunny DNS is almost free for up to 500 domains and features scriptable answers, I made the jump!

## HN discussion (23 comments)

### [askbjoernhansen](<https://news.ycombinator.com/item?id=50395556>)

> The "cloud provider rates" for this are a bit crazy. It's great bunny.net is offering a (more flexible!) product basically for free.
>
> The NTP Pool does ~1m dns queries a second on the hourly peak with a small-ish (old) Go program (called `geodns`) running on a bunch of mostly small VMs around the world. The average is much less, but paying $0.70/million for ~11 billion queries a day would be a lot of money for a "random volunteers on the internet" project at "cloud provider rates".

### [arm32](<https://news.ycombinator.com/item?id=50395374>)

> Bunny's scriptable DNS is something I geek out so hard over. Bunny's DNS products in general, actually, are highly underrated. Kevin, my offer still stands to come work on it! :P

### [whinvik](<https://news.ycombinator.com/item?id=50395534>)

> I actually went and looked at the linked Terraform blog post and I realized something.
>
> It mentions that you used CDKTF because you prefer its expressiveness. The actual TF is generated from CDKTF. Having struggled with understanding and writing TF in the past, now, I don't really have to care with agents. I let them rip, then just read the plan output.
>
> I am sure we will find more such examples where we can rip out an intermediate step completely because of agents.

---

## Cite

- Page: https://zeli.app/story/50394292
- Date: 2026-11-06
- Source: vincent.bernat.ch (https://vincent.bernat.ch/en/blog/2026-bunny-geodns)
- Hacker News: https://news.ycombinator.com/item?id=50394292

## Other languages

- zh: https://zeli.app/zh/story/50394292 · markdown: https://zeli.app/zh/story/50394292.md
- ja: https://zeli.app/ja/story/50394292 · markdown: https://zeli.app/ja/story/50394292.md
- ko: https://zeli.app/ko/story/50394292 · markdown: https://zeli.app/ko/story/50394292.md
- de: https://zeli.app/de/story/50394292 · markdown: https://zeli.app/de/story/50394292.md
- es: https://zeli.app/es/story/50394292 · markdown: https://zeli.app/es/story/50394292.md
- ru: https://zeli.app/ru/story/50394292 · markdown: https://zeli.app/ru/story/50394292.md
