automatically handle hosts aliases