*BSD News Article 52407


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!swidir.switch.ch!scsing.switch.ch!news.dfn.de!server2.rz.uni-leipzig.de!news.th-zwickau.de!news.tu-chemnitz.de!irz401!uriah.heep!not-for-mail
From: j@uriah.heep.sax.de (J Wunsch)
Newsgroups: comp.mail.sendmail,comp.unix.bsd.freebsd.misc
Subject: Re: Please Help:  Name server timeouts from sendmail
Date: 9 Oct 1995 09:27:58 +0100
Organization: Private FreeBSD site, Dresden.
Lines: 24
Message-ID: <45amee$1ah@uriah.heep.sax.de>
References: <451uoc$4o5@agate.berkeley.edu> <4545rk$o14@zuul.nmti.com>
NNTP-Posting-Host: uriah.heep.sax.de
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
Keywords: sendmail bind named dns freebsd firewall timeout queue smart host
Xref: euryale.cc.adfa.oz.au comp.mail.sendmail:20911 comp.unix.bsd.freebsd.misc:7081

Peter da Silva <peter@nmti.com> wrote:

>I have the same problem. You have to tell tiyr mc file:
>
>FEATURE(nodns)dnl
>FEATURE(nocanonify)dnl
>
>Now the problem is that if you do this, sendmail doesn't use DNS at *all*.
>And if you tell sendmail to use DNS, it uses it in preference to SMART_HOST.
>
>I gave up and created a /etc/hosts file for all the internal stuff, but I
>really think that FEATURE(nodns) shouldn't override the system configuration
>(like, if you have /etc/resolv.conf then trust it, even if you're not using
>DNS for email address resolution...).

I think it actually does still use DNS to resolve the host names (for
delivery), but it doesn't attempt to canonify the addresses by their
MX records.  The only drawback is that each host has to know about its
own MX aliases in terms of its Cw macro.
-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)