Refactor: remove hosts method in favor of Resolv
Refactor: shrink resolve by breaking out method