Fixed bug with domains.txt file encoding and added exeptions for Resolv::DNS.getresources errors handling