sudoers file provides a way to limit which "runas" entries apply to which hosts. When running a command with
sudo, the hostname is checked against the hosts on which a "runas" entry applies.
When the host-name is misconfigured, this can cause sudo to take a long time trying to resolve the hostname, and sometimes it will entirely prevent users from using
sudoers configurations I've seen only ever use the
ALL host alias, meaning that it shouldn't matter what host the user is on. Why does
sudo even perform the check in this case, since it can cause problems?