[CentOS] sudo doing DNS lookup

Fri Dec 10 15:40:58 UTC 2010
Tom H <tomh0665 at gmail.com>

On Fri, Dec 10, 2010 at 8:43 AM, Steve Clark <sclark at netwolves.com> wrote:
>
> I have a confusing problem. I have two centos 5,5 boxes. Both have
> sudo.i386                                1.7.2p1-9.el5_5
> installed
>
> I am using the same sudoers file, but the one on box A keeps trying to do
> DNS lookups while the one on box B does not. How do I disable this DNS
> lookup?

Do both hosts have their hostnames in "/etc/hosts"?

Do both hosts have "hosts: files dns" in "/etc/nsswitch.conf"?