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.
The original title was "Writing a DNS resolver in 80 lines of Go".
The comment might seem like its being dismissive with the current title "A toy DNS resolver", but at the time of writing it was not just a shallow dismissal.
I don't think author can claim "in 80 lines of code" when the code depends on a much bigger library than itself.