Hacker News new | ask | show | jobs
by vidarh 1604 days ago
I'd add to this that if you just want to demonstrate the encode/send/receive/decode part, that too can be done in a nearly trivial amount of code.

I know because I've done it (I wrote a an authoritative DNS server from scratch for a registry platform we did for .name).

To write a full fledged library for it for a resolver (an authoritative server can take plenty of shortcuts depending on purpose) is complex, but I absolutely agree the basics that you'd demonstrate if writing a toy one to demonstrate would be just a distraction.