optionally resovle dns
Make the DNS resolution option more consistent with existing options.
Merge pull request #1 from pquerna/add_dns_resolving

Optionally resolve DNS