hosts: optimize hosts file