Fix typo (thanks Nalin!)
Catch all DNS errors
Add UDP support