GitHub repository: pokt-network/go-mockdns
Description: Boilerplate for testing of code involving DNS lookups, including unholy hacks to redirect net.Lookup* calls.