Date: Thu, 05 Aug 1999 11:52:57 +0300 From: "Andy V. Oleynik" <andyo@prime.net.ua> To: Dan Lazin <dan@esther.su.ualberta.ca> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: sendmail no longer relaying, now giving me 'Host unknown'error Message-ID: <37A950E8.48636478@prime.net.ua> References: <199908042158.PAA29038@pilsener.ucs.ualberta.ca>
next in thread | previous in thread | raw e-mail | index | archive | help
Dan Lazin wrote: > > Well, resolver got the MX records for geocities.com and > > this is strange that U couldnt connect to any of > > mailexchangers. Could U tcpdump ur telnet on 25 port to > > any of them using domainnames and IPs that I supplied below: > > mail.geocities.com internet address = 209.1.224.30 > > mail.geocities.com internet address = 209.1.224.29 > > mail.geocities.com internet address = 209.1.224.139 > > mail.geocities.com internet address = 209.1.224.42 > > mail.geocities.com internet address = 209.1.224.138 > > mail.geocities.com internet address = 209.1.224.44 > > mail??.geo.yahoo.com internet address = 206.251.17.77 > > (last 4 have the same IP). > > I can telnet on port 15 25, yes? > to those IPs just fine, put telneting > to the hostname fails with 'unknown host'. This happens for both > mail.geocities.com and mail??.geo.yahoo.com. > It's strange. I just now changed my DNS in resolv.conf with urs DNS and could telnet all the geocities mail relay just fine. telnet uses resolver library to query DNS. > > If I do an nslookup on either of those hosts, it returns the correct IPs. > nslookup is using 129.128.5.233 as its default nameserver, which is the > University of Alberta's primary upstream NS, and the (only) one specified in > my resolv.conf. > > > Well, now U should check ur resolver&bind configuration. > > If U run local bind U have to have /etc/resolve.conf smth like > > this: > > > > domain ur.isp.domain.name > > nameserver [127|10|192|177].0.0.1 195.64.229.1 > > > > if no local bind- just: > > domain ur.isp.domain.name > > nameserver 195.64.229.1 > > Looks like the second one. > > > then use nslookup to query ur bind and check answers. > > for this purpose man nslookup will help U. > > What should I be checking with nslookup? All the domain names I check > resolve to IPs just fine. Yes, nslookup asks DNS by itself & not use resolver libs. > > > I think that this is the reason that my relaying is failing, too: sendmail > can't verify my hostname, so it's not checking it against relay-domains. Unless U tald me that telnet to 25 by name was failed I would say that problem was in sendmail. But it looks it's the problem with resolver. Goto /usr/src/lib/libresolv and make clean && make depend && make && make install. Then try to telnet on port 25 geocities's mailservers by name again. Untill it works to go ahead is unreasonable. And send ur exact /etc/resolv.conf & /etc/host.conf > > > Should I set a different nameserver in resolv.conf? > > Dan > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message -- WBW Andy V. Oleynik (When U work in virtual office prime.net.ua's U have good chance to obtain system administrator virtual money ö%-) +380442448363 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?37A950E8.48636478>