Resolve Hostnames to IPs

This should eliminate DNS lookups everytime.
Merge pull request #577 from hoffmabc/DBFix

Resolve Hostnames to IPs