<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#ffffff">
On 12/10/2010 09:04 AM, John Doe wrote:
<blockquote cite="mid:576966.89195.qm@web114712.mail.gq1.yahoo.com"
type="cite">
<pre wrap="">From: Steve Clark <a class="moz-txt-link-rfc2396E" href="mailto:sclark@netwolves.com"><sclark@netwolves.com></a>
</pre>
<blockquote type="cite">
<pre wrap="">I have a confusing problem. I have two centos 5,5 boxes. Both have
sudo.i386 1.7.2p1-9.el5_5
</pre>
</blockquote>
<pre wrap="">installed
</pre>
<blockquote type="cite">
<pre wrap="">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?
</pre>
</blockquote>
<pre wrap="">
Do you have fqdn in sudoers?
</pre>
</blockquote>
No, thats the crazy part. I don't have that enabled and it still does
the<br>
DNS lookup. I tried turning it on to see what would happen and the<br>
only thing different was it spit out:<br>
$ sudo vi /etc/resolv.conf <br>
sudo: unable to resolve host Z7070.netwolves.com<br>
Vim: Caught deadly signal TERM<br>
<br>
Vim: Finished.<br>
Terminated<br>
<br>
I finally killed it from another terminal cause it was taking so long.<br>
<br>
Without the:<br>
Defaults fqdn<br>
it hangs for a long time, this is when I don't have connection to the
net,<br>
if I have connection there is just a slight pause while tries to do the
DNS <br>
lookup.<br>
<br>
<br>
<blockquote cite="mid:576966.89195.qm@web114712.mail.gq1.yahoo.com"
type="cite">
<pre wrap="">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
<a class="moz-txt-link-abbreviated" href="mailto:CentOS@centos.org">CentOS@centos.org</a>
<a class="moz-txt-link-freetext" href="http://lists.centos.org/mailman/listinfo/centos">http://lists.centos.org/mailman/listinfo/centos</a>
</pre>
</blockquote>
<br>
<br>
<div class="moz-signature">-- <br>
Stephen Clark<br>
<b>NetWolves</b><br>
Sr. Software Engineer III<br>
Phone: 813-579-3200<br>
Fax: 813-882-0209<br>
Email: <a class="moz-txt-link-abbreviated" href="mailto:steve.clark@netwolves.com">steve.clark@netwolves.com</a><br>
<a class="moz-txt-link-freetext" href="http://www.netwolves.com">http://www.netwolves.com</a><br>
</div>
</body>
</html>