Validate DNS resolution before running tests.
Added missing recue for DNS resolution.
Fix for running local ./bin/tdi from inside the repository clone.