add logging for unresolvable hostname