Get the latest version (called weekly) of Go:
Get Go:
hg clone -u release https://go.googlecode.com/hg/ goNote the directory you have downloaded it to and set $GOROOT to it:export GOROOT=$PWD/go. Add the GOROOT bin directory to your path:PATH=$PATH:$GOROOT/binUpdate Go to the latest weekly:
cd $GOROOT; hg pull; hg update weeklyCompile Go:
cd $GOROOT/src ; ./all.bashInstall missing commands (gcc, sed, bison, etc.) if needed.
The latest Go is now installed.
Install GoDNS
- Get GoDNS:
cd ~; git clone git://github.com/miekg/godns.git - Compile it:
cd godns; make ; make install - Compile the examples;
cd examples; make ; make install - Query with q:
q mx miek.nl - Report bugs
1 comment
Works a charm. Thanks for the recipe. :-)

