when resolving IPs, add hostname to /etc/hosts if none exists and using vagrant