Handling error when dns records request returns empty body

Added a condition to return a new unexpected error.

#188