Need help debugging either a network or a sendmail problem.

Ben Scott dragonhawk at gmail.com
Sun Feb 19 17:29:01 EST 2006


On 2/19/06, Steven W. Orr <steveo at syslang.net> wrote:
> 526 > hostname
> saturn.syslang.net
> 527 >
[cut[

  You might also try these:

hostname -f
hostname -s
hostname -d
hostname -a
hostname -i

> And it takes almost 30 seconds to come back.

  Hmmm.  Smells like a DNS problem.  Try doing forward and reverse
lookups on the various hostnames and IP address:

host saturn.syslang.net
host saturn
host $IP_ADDR

> http://steveo.syslang.net/net/hosts

I note this line:

          192.168.0.101   saturn      syslang.net

The first name on a line is the one returned as the "default" or
"primary" name.  So, given the above, one consequence will be that
anything trying to use name resolution to figure out it's name will
end up with a short (unqualified) name, "saturn".  If I had to guess,
from your symptoms, I would say that something is then trying to
resolve the name "saturn", and something is then sticking ".com" on
the end of it.  Hence "saturn.com" and the rest.

  The solution is to oranize your /etc/hosts file something like this:

          192.168.0.101   saturn.syslang.net      syslang.net  saturn

  Also, make sure your /etc/resolv.conf file includes "syslang.net" as
one of the search domains.

-- Ben



More information about the gnhlug-discuss mailing list