Mock a DNS Resolver object for testing
