From owner-freebsd-questions Thu Aug 5 1:53:21 1999 Delivered-To: freebsd-questions@freebsd.org Received: from volodya.prime.net.ua (volodya.prime.net.ua [195.64.229.17]) by hub.freebsd.org (Postfix) with ESMTP id 3AA671524B for ; Thu, 5 Aug 1999 01:53:06 -0700 (PDT) (envelope-from andyo@prime.net.ua) Received: from prime.net.ua (localhost [127.0.0.1]) by volodya.prime.net.ua (8.9.3/8.8.8) with ESMTP id LAA02806; Thu, 5 Aug 1999 11:53:00 +0300 (EEST) (envelope-from andyo@prime.net.ua) Message-ID: <37A950E8.48636478@prime.net.ua> Date: Thu, 05 Aug 1999 11:52:57 +0300 From: "Andy V. Oleynik" Organization: M-Info X-Mailer: Mozilla 4.61 [en] (X11; I; FreeBSD 3.2-STABLE i386) X-Accept-Language: en, ru, uk MIME-Version: 1.0 To: Dan Lazin Cc: freebsd-questions@FreeBSD.ORG Subject: Re: sendmail no longer relaying, now giving me 'Host unknown'error References: <199908042158.PAA29038@pilsener.ucs.ualberta.ca> Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 8bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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