Successor DNS library on hackage

7 views
Skip to first unread message

Viktor Dukhovni

unread,
Jun 10, 2026, 12:13:50 PMJun 10
to Melbourne Compose Group
I've uploaded what I think is a worthy successor for Kazu Yamamoto's Haskell `dns` library.

It has some possibly interesting design elements that the announcement highlights.
If you're curious take a look. I'm open to questions.

The mundane extension mechanism is that applications can extend the resolver configuration at runtime by registering a new or override resource record data type.

Somewhat more interesting is that existing resource record data types whose data models are designed for extensions (e.g. HTTPS / SVCB) also support a similar type-driven or value-driven interface to expand what they can represent.

Naturally there are State monads making encoding and decoding be robust, painless and performant.

I've also uploaded an IDNA2008 library that handles parsing of possibly Unicode domain names.  https://discourse.haskell.org/t/ann-idna2008-1-0-pure-haskell-idna-2008-with-ucd-17-0-0-tables/14254/3

If you happen to look at these and have questions, I'll be happy to answer them next time we meet.

Reply all
Reply to author
Forward
0 new messages