Re: sudo doing DNS lookup

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On 12/10/2010 09:04 AM, John Doe wrote:
From: Steve Clark <sclark@xxxxxxxxxxxxx>
  
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 you have fqdn in sudoers?

  
No, thats the crazy part. I don't have that enabled and it still does the
DNS lookup. I tried turning it on to see what would happen and the
only thing different was it spit out:
$ sudo vi /etc/resolv.conf
sudo: unable to resolve host Z7070.netwolves.com
Vim: Caught deadly signal TERM

Vim: Finished.
Terminated

I finally killed it from another terminal cause it was taking so long.

Without the:
Defaults fqdn
it hangs for a long time, this is when I don't have connection to the net,
if I have connection there is just a slight pause while tries to do the DNS
lookup.


man sudoers:
"Beware that turning on fqdn requires sudo to make DNS
 lookups which may make sudo unusable if DNS stops
 working"

JD


      
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

  


--
Stephen Clark
NetWolves
Sr. Software Engineer III
Phone: 813-579-3200
Fax: 813-882-0209
Email: steve.clark@xxxxxxxxxxxxx
http://www.netwolves.com
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux