*BSD News Article 67548


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mira.net.au!news.vbc.net!garlic.com!news.scruz.net!kithrup.com!news.Stanford.EDU!nntp-hub2.barrnet.net!newsfeed.internetmci.com!in1.uu.net!news.vader.org!news.demon.co.uk!dispatch.news.demon.net!demon!awfulhak.demon.co.uk!awfulhak.demon.co.uk!awfulhak.demon.co.uk!not-for-mail
From: brian@awfulhak.demon.co.uk (Brian Somers)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Lookup problems
Date: 2 May 1996 14:26:40 +0100
Organization: Coverform Ltd.
Lines: 29
Message-ID: <4mad6g$91@anorak.coverform.lan>
References: <4kpiuf$hpv@news.nstn.ca> <4l46ec$ah@anorak.coverform.lan> <4m89ck$mvl@news.zipnet.net>
X-NNTP-Posting-Host: awfulhak.demon.co.uk
X-Newsreader: TIN [version 1.2 PL2]

Mikhail Teterin (mi@aldan.algebra.com) wrote:
: Honorable Brian Somers
:       wrote on 18 Apr (in article <4l46ec$ah@anorak.coverform.lan>):

: ='cos sendmail things it's smart and doesn't use "gethostbyname".  I find
: =this enormously irritating too !  I have a local network, all of which is
: =specified in my /etc/hosts file.  I also have demand-dialed PPP.  If I
: =send mail to a local machine, the PPP link comes up, the DNS at the other
: =end says "never heard of him" and sendmail happily sends things (it must
: =look in /etc/hosts).

: For this case (unknown to world hosts) I'd change your /etc/host.conf
: to have `hosts' _before_ `bind' ...

: 	-mi
: -- 
: 	"Windows for dummies"

Nope, doesn't work.... as I said above, sendmail doesn't use gethostbyname.
As various kind souls pointed out, we need

    FEATURE(nodns)
    FEATURE(nocanonify)

in sendmail.cf !

--
Brian <brian@awfulhak.demon.co.uk>
Don't _EVER_ lose your sense of humour....