It looks like Resolv throws an error when `getaddress` doesn't return a result:

```text
Resolv.getaddress('foo.bar')
Resolv::ResolvError: no address for foo.bar
from ~/.rbenv/versions/2.0.0-p247/lib/ruby/2.0.0/resolv.rb:93:in `getaddress'
```