[OHAI-518] remove *.static.cloud-ips.com

Fixes issues with Pull Request #215
- fixes tests
- moves `require "resolve"` to top of file
Consider locking this to Resolv::ResolvError and whatever the exception is for the timout.