News for hackers. Stuff that matters.
Re:A toy DNS resolver by takeda on Tuesday February 01, 2022 @11:44PM (#30173813)
I know it starts like a shallow dismissal, but mentioning that code uses another DNS package as a dependency (miekg/dns) has a point. I originally missed that, and I believe many probably too.

I don't think author can claim "in 80 lines of code" when the code depends on a much bigger library than itself.

Re:A toy DNS resolver by comonoid on Wednesday February 02, 2022 @01:59AM (#30174632)
It's just a generic DNS packet parser, it has no any resolving logic (or it is not used). For learning the resolving process, it is a perfect combo.