From owner-freebsd-questions Wed Aug 4 14:59:23 1999 Delivered-To: freebsd-questions@freebsd.org Received: from pilsener.ucs.ualberta.ca (pilsener.ucs.ualberta.ca [129.128.5.19]) by hub.freebsd.org (Postfix) with ESMTP id BD09914A2E for ; Wed, 4 Aug 1999 14:59:15 -0700 (PDT) (envelope-from dan@esther.su.ualberta.ca) Received: from [129.128.133.67] (gateway-prod.su.ualberta.ca [129.128.133.67]) by pilsener.ucs.ualberta.ca (8.9.1a/8.9.1) with ESMTP id PAA29038; Wed, 4 Aug 1999 15:58:38 -0600 (MDT) Message-Id: <199908042158.PAA29038@pilsener.ucs.ualberta.ca> X-Mailer: Microsoft Outlook Express Macintosh Edition - 4.5 (0410) Date: Wed, 04 Aug 1999 15:57:16 -0600 Subject: Re: sendmail no longer relaying, now giving me 'Host unknown' error From: "Dan Lazin" To: andyo@prime.net.ua Cc: freebsd-questions@freebsd.org Mime-version: 1.0 X-Priority: 3 Content-type: text/plain; charset="KOI8-R" Content-transfer-encoding: 7bit Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > 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 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. 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. 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. 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