handle unknown host errors

Change-Id: Ifb6706939b9cab93b31458cc6d950aadbc331826