Super-short guide to getting q
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/bin -
Update Go to the latest weekly:
cd $GOROOT; hg pull; hg update weekly -
Compile 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
Read other posts