updated how /etc/hosts is calculated - still not correct