[CentOS] sudo doing DNS lookup

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


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"?



More information about the CentOS mailing list