Add alias hosts=getent hosts.