remove try catch in favour of boring if(error){}
Merge pull request #327 from zuzak/dns

remove try catch in favour of boring if(error){}