unbound - resolve names using libunbound.
With unbound you can (recursively) resolve names using the Unbound resolver from NLnet Labs.
Unbound's ub_result
has been extended with an slice of dns.RRs, this alleviates the need to parse
ub_result.data
yourself.
Just enable the plugin with:
unbound
A wrapper for Unbound in Go.
Compilation of this plugin requires CGO, which means the executables will use shared libraries (OpenSSL, ldns and libunbound).
The website for Unbound is https://unbound.net/, where you can find further documentation. Tested/compiled to work for versions: 1.4.22 and 1.6.0-3+deb9u1 (Debian Stretch).
The tutorials found here are the originals ones adapted to Go.