make update_hosts.py to resolve hosts to IPs