Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
A Go wrapper for libunbound
branch: master
Failed to load latest commit information.
tutorial1 Finish example
tutorial2 add another tutorial
tutorial3 Use log
tutorial4 Use log.Fatalf
tutorial5 Use log.Fatalf
tutorial6 undo changes Update README
dns.go fmt
lookup.go Add LookupNS
unbound.go Compile fix for either new go or new unbound
unbound_test.go smaller test size


A wrapper for Unbound in Go.

Unbound's ub_result has been extended with an slice of dns.RRs, this alleviates the need to parse yourself.

The website for Unbound is, were you can find further documentation.

Tested/compiled to work for versions: 1.4.22

Note: using cgo means the executables will use shared libraries (OpenSSL, ldns and libunbound).

The tutorials found here are the originals ones adapted to Go.

Something went wrong with that request. Please try again.