When DIG response is something different like a timeout error or something else, the response should validated before try to access to the array data in fixed positions.
I have added this validations and reject the response in case of this kind of errors.
Also added the respective test!
When DIG response is something different like a timeout error or something else, the response should validated before try to access to the array data in fixed positions. I have added this validations and reject the response in case of this kind of errors. Also added the respective test!