News for hackers. Stuff that matters.
Re:Show HN: I built a DNS resolver from scratch in Rust – no... by rdme on Thursday April 02, 2026 @06:09AM (#47612325)
Since I needed it to be my primary DNS, I also added: recursive resolution from root nameservers, DNSSEC chain-of-trust validation, ad blocking (385K+ domains), and LAN service discovery.

I wrote about the DNSSEC implementation here: https://numa.rs/blog/posts/dnssec-from-scratch.html It's now my daily system DNS. Single binary (~8MB), macOS/Linux/Windows.

`sudo numa install`

Re:Show HN: I built a DNS resolver from scratch in Rust – no... by rdme on Thursday April 02, 2026 @07:03AM (#47612715)
Thanks! If you hit any issues during setup, feel free to open an issue — happy to help debug. The dashboard at localhost:5380 shows what's happening in real time.
Re:Show HN: I built a DNS resolver from scratch in Rust – no... by siruwastaken on Thursday April 02, 2026 @10:19AM (#47614868)
Why are you replying to your own coment?
Re:Show HN: I built a DNS resolver from scratch in Rust – no... by happytoexplain on Thursday April 02, 2026 @10:21AM (#47614898)
I think it's a bot? There's an identical version of this comment in another reply, except it cuts off half way through a sentence.
Re:Show HN: I built a DNS resolver from scratch in Rust – no... by rdme on Thursday April 02, 2026 @10:32AM (#47615057)
I hit reply on the wrong post and you can't delete comments or at least I don't see how it can be done
Re:Show HN: I built a DNS resolver from scratch in Rust – no... by dgb23 on Thursday April 02, 2026 @12:12PM (#47616384)
Above the comments I've written on HN I see:

5 minutes ago | parent | next | edit | delete

Re:Show HN: I built a DNS resolver from scratch in Rust – no... by hxugufjfjf on Thursday April 02, 2026 @12:22PM (#47616533)
That only lasts for a few minutes until it’s locked and you can no longer delete after that.
Re:Show HN: I built a DNS resolver from scratch in Rust – no... by eqvinox on Thursday April 02, 2026 @08:47PM (#47622093)
It lasts 2 full hours, at least for edit. Delete stops working when someone replies afaik.
Re:Show HN: I built a DNS resolver from scratch in Rust – no... by rdme on Thursday April 02, 2026 @10:31AM (#47615045)
because I clicked reply on the wrong one and you can't delete it...
Re:Show HN: I built a DNS resolver from scratch in Rust – no... by nalekberov on Friday April 03, 2026 @05:21AM (#47624671)
Of course I can’t prove it, but i am guessing some kind of “AI” is doing that. Humans rarely use emdashes.
Re:Show HN: I built a DNS resolver from scratch in Rust – no... by BrandoElFollito on Friday April 03, 2026 @06:43AM (#47625130)
Oh pleeeeeeease stop with this emdash idiocy.

I am really annoyed by all these kindergarten "AI experts" that comment on my use of the emdash (apparently they never wrote anything in a text processor).

Grow up.

Re:Show HN: I built a DNS resolver from scratch in Rust – no... by nalekberov on Friday April 03, 2026 @07:55AM (#47625654)
Perhaps you should go back to school and learn what "rarely" means.

I haven't claimed to be an AI expert, you did. You need to learn how to interact with people online.

Re:Show HN: I built a DNS resolver from scratch in Rust – no... by BrandoElFollito on Friday April 03, 2026 @08:10AM (#47625767)
Looks like this is written by an AI because it uses a comma, but three full stops. Suspicious ratio.

Yes, this is fucking annoying.

Re:Show HN: I built a DNS resolver from scratch in Rust – no... by dang on Friday April 03, 2026 @01:34PM (#47629582)
Please don't respond to a bad comment by breaking the site guidelines yourself. That only makes things worse.

https://news.ycombinator.com/newsguidelines.html

Re:Show HN: I built a DNS resolver from scratch in Rust – no... by dang on Friday April 03, 2026 @01:33PM (#47629567)
Please don't break the site guidelines, regardless of how wrong someone is or you feel they are.

You're right about em dashes of course (https://news.ycombinator.com/item?id=47154752) but being right on a point does not make it ok to attack another user or violate the rules of the site.

https://news.ycombinator.com/newsguidelines.html

Re:Show HN: I built a DNS resolver from scratch in Rust – no... by pyprism on Thursday April 02, 2026 @10:50AM (#47615266)
Very interesting project! I have a couple of questions. With all the default blocked domains loaded, what is the average memory usage? Currently, I am using Pi-hole on a low memory single board computer. Is it possible to use this instead of Pi-hole? If so, I’d like to use it for all of my devices."
Re:Show HN: I built a DNS resolver from scratch in Rust – no... by rdme on Thursday April 02, 2026 @11:00AM (#47615400)
With 390K blocked domains: ~31MB total process footprint. Breakdown: - Blocklist: 23.4MB (390K domains) - Cache: 3.8MB (4.4K entries) - Query log, SRTT, runtime: ~4MB

It binds to 0.0.0.0:53 by default, so just point your devices' DNS to the board's IP

Re:Show HN: I built a DNS resolver from scratch in Rust – no... by onel on Friday April 03, 2026 @06:05AM (#47624897)
Romanian project. Instant upvote. Great work