Remove unneeded assignment.
Avoid stubDns calling itself recursively.
Fix tests with stubDns.