This repository has a bunch of example programs that are made with the https://github.com/miekg/dns Go package.
Currently they include:
as112: an AS112 black hole serverchaos: show DNS server identitycheck-soa: check the SOA record of zones for all nameserversq: dig-like query toolreflect: reflection nameservernotprox: a notify proxy server