On Sun, 2006-02-19 at 15:59, Steven W. Orr wrote: > =>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 Is it registered in public DNS? If so, any DNS resolver should be able to look it up. If you have some kind of NAT so your own view doesn't match it may confuse things. Sendmail normally does a reverse lookup on all of your interface addresses when it starts to determine your local names. -- Les Mikesell lesmikesell@xxxxxxxxx