Super-short guide to getting q (Part II)
The development of the language Go is going at a fast pace, hence an updated version of Super-short guide to gettinq q. Get the latest version (called weekly) of Go: Get Go: hg clone -u release...
View ArticlePrinting MX records with Go DNS
Now that the API seems to stabilize it is time to update these items. We want to create a little program that prints out the MX records of domains, like so: % mx miek.nl miek.nl. 86400 IN MX 10...
View ArticleLibunbound wrapper in Go
I've created a small wrapper for libunbound for use in Go. The code can be found at github. It depends on my Go DNS library which can be found here. Official announcement on the Unbound-users@ list. To...
View ArticleDynamic nameserver provisioning with dns pkts
I'm writing a nameserver called fksd (Funkensturm daemon), which is currently in a prototype stage (but the code is available at github). In this server I'm pursuing some interesting directions in...
View ArticleUser management in fksd
If you do DNS for too long everything looks like 53. In this "trace" I'm showing the logging of fksd when I add a zone, try to list it as a non-existent user miekg (which fails), add the user miekg...
View ArticleAdding new RR types to GO DNS
Inspired by NLnet Labs and PowerDNS, I figured I couldn't stay behind, so here is how to add new RRs to Go DNS. A small note before I delve into the details, I haven't optimized Go DNS for adding new...
View ArticleGo DNS API change WITH rewrite rules!
In the standard library the DNS types have been renamed from RR_MX to MX which I think is a good change. So I made the same change in Go DNS, but this time I'm providing gofmt -r rewrite rules. They...
View ArticlePKCS11 wrapper for Go
In my quest to write a DNS server in Go I found myself lacking an interface to PKCS#11, so I wrote one. PKCS#11 is the interface to HSMs (including SoftHSM), and even though the interface sucks, I...
View ArticleUpcoming(?) changes in Go DNS
Some upcoming (NOT MERGED YET!) changes that can be found in the net branch. Why these changes? Well I never liked the function ExchangeConn and I wanted to find a balance between out-of-the-box...
View ArticlePersonal Go install
With golang 1.2, both godoc and go vet are removed from the main repository. Here is a super short list of commands (that I personally use) to install Go and both tools. export GOBIN=~/bin export...
View Article