Expand DNS failures to catch all "errno" string output

Related bug 1270382

Change-Id: I6a958d0575fb0b5ece0bdc3b3ce50990615b5557