Remove network dependency for DNS import tests

These tests have been failing in CI today. We can't quite see why that has started happening in that environment, but removing the network dependency here is a positive step anyway.