Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Aug 1999 00:12:49 +0200 (MEST)
From:      Christian Kratzer <ck@toplink.net>
To:        Dan Lazin <dan@esther.su.ualberta.ca>
Cc:        andyo@prime.net.ua, freebsd-questions@FreeBSD.ORG
Subject:   Re: sendmail no longer relaying, now giving me 'Host unknown'  error
Message-ID:  <Pine.LNX.4.10.9908050011020.28765-100000@hirvi.toplink.net>
In-Reply-To: <199908042158.PAA29038@pilsener.ucs.ualberta.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.10.9908050011020.28765-100000>