Boilerplate for testing of code involving DNS lookups, including unholy hacks to redirect net.Lookup* calls.