Updated hosts alias work so that it works if you do not spoecify any hosts