The last couple of days I’ve been working on (better) DNS support in Go. I think it would be very nice to get something like ldns in Go, but then in less lines of code.

I’ve just published the first code on godns @github. This is heavily based on the DNS implementation currently in Go, in the net-package. Current additions consist of:

  • AAAA support;
  • Parsing rdata to hex or base64;
  • Groundwork for DNSSEC types (DS, DNSKEY, RRSIG);
  • Groundwork for EDNS0.

More info (well not a lot at the moment) can be found here.