Re: Need help debugging either a network or a sendmail problem.

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

 



On Sun, Feb 19, 2006 at 04:59:45PM -0500, Steven W. Orr wrote:
> On Sunday, Feb 19th 2006 at 15:40 -0600, quoth Les Mikesell:
> 
> =>On Sun, 2006-02-19 at 12:56, Steven W. Orr wrote:
> =>> I have a weird problem.
> =>> 
> =>> 526 > hostname
> =>> saturn.syslang.net
> =>> 527 >
> =>> 
> =>> But, ...
> =>> 
> =>> 527> perl -MNet::Domain -e 'print Net::Domain::hostfqdn(), "\n"'
> =>> saturn.com
> =>> 
> =>> And it takes almost 30 seconds to come back. (The above example is what I 
> =>> did to reduce the bigger problem which caused me to notice this to the 
> =>> smallest case.)
> =>
> =>Look at /etc/resolv.conf.  Is the first nameserver mentioned
> =>there working?  (Try 'dig @ip_number domain_to_look_up' to
> =>test it).
> 
> [root@saturn ~]# cat /etc/resolv.conf
> ; generated by /sbin/dhclient-script
> search cable.rcn.com
> nameserver 207.172.3.8
> nameserver 207.172.3.9
> [root@saturn ~]# 
> 
> I don't own my resolv.conf, that comes to me from my cablemodem provider 
> via dhcp. They don't know anything about either saturn or syslang.net

My opinion is the result of running hostname is gotten from the data
filled in in your /etc/sysconfig/network or
/etc/sysconfig/network-scripts/ifcfg-eth0 files. It has nothing to do
with name service.

Now the host command or dig command do.
-- 

=======================================================================
Vote anarchist.
-------------------------------------------
Aaron Konstam
Computer Science
Trinity University
telephone: (210)-999-7484


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux