add a 5 second timeout to the vm dns name check

also capture StandardError and output [unknown] to the logs