- resolve the address given to hosts_ctl to hostname, if hostname not given - compare localhost and localhost.localdomain as the same