From owner-freebsd-questions Wed Aug 4 15:13:54 1999 Delivered-To: freebsd-questions@freebsd.org Received: from mail.toplink.net (mail.toplink.net [195.2.171.8]) by hub.freebsd.org (Postfix) with ESMTP id 1BAD114A2E for ; Wed, 4 Aug 1999 15:13:46 -0700 (PDT) (envelope-from ck@toplink.net) Received: (from uucp@localhost) by mail.toplink.net (8.9.3/8.9.3) with UUCP id AAA22533; Thu, 5 Aug 1999 00:13:06 +0200 (CEST) From: Christian Kratzer Received: from localhost (ck@localhost) by hirvi.toplink.net (8.9.3/8.9.3) with ESMTP id AAA28811; Thu, 5 Aug 1999 00:12:49 +0200 Date: Thu, 5 Aug 1999 00:12:49 +0200 (MEST) To: Dan Lazin Cc: andyo@prime.net.ua, freebsd-questions@FreeBSD.ORG Subject: Re: sendmail no longer relaying, now giving me 'Host unknown' error In-Reply-To: <199908042158.PAA29038@pilsener.ucs.ualberta.ca> Message-ID: X-NCC-RegID: de.toplink X-Spammer-Kill-Ratio: 75% X-Jihad: Will hunt down all cases of Spam and Net abuse. MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, if nslookup is working fine your resolver should be ok. It's propapbly just not being used ;-) Check your /etc/host.conf and make sure you have bind in there. ---snipp--- # $Id: host.conf,v 1.2 1993/11/07 01:02:57 wollman Exp $ # Default is to use the nameserver first # If that doesn't work, then try the /etc/hosts file hosts bind ---snipp--- Greetings Christian On Wed, 4 Aug 1999, 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 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 > -- TopLink Internet Services GmbH ck@171.2.195.in-addr.arpa Christian Kratzer http://www.toplink.net/ Phone: +49 7032 2701-0 Fax: +49 7032 2701-19 FreeBSD spoken here! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message