Skip to content


Subversion checkout URL

You can clone with
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 Fix bug: unbound version check fail
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.