From owner-freebsd-questions Sun Apr 19 17:31:22 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA22097 for freebsd-questions-outgoing; Sun, 19 Apr 1998 17:31:22 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from cesit1.unifi.it (cesit1.unifi.it [150.217.1.31]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id AAA22058 for ; Mon, 20 Apr 1998 00:31:14 GMT (envelope-from ugo@dsi.UNIFI.IT) Received: from aguirre.dsi.unifi.it by CESIT1.UNIFI.IT (PMDF V5.1-10 #23168) with SMTP id <01IW2R7PVW3C000FA9@CESIT1.UNIFI.IT> for freebsd-questions@FreeBSD.ORG; Mon, 20 Apr 1998 02:31:45 MET Received: from by aguirre.dsi.unifi.it (4.1/SMI-4.1) id AB03697; Mon, 20 Apr 1998 02:33:08 +0200 Received: from pegasus.home.net (pegasus.home.net [192.168.1.3]) by dsi.unifi.it (8.8.8/8.8.8) with ESMTP id PAA07771 for ; Sun, 19 Apr 1998 15:34:34 +0200 (MET DST envelope-from ugo) Received: (from ugo@localhost) by pegasus.home.net (8.8.8/8.8.7) id PAA00281 for freebsd-questions@FreeBSD.ORG; Sun, 19 Apr 1998 15:34:33 +0200 (MET DST) Date: Sun, 19 Apr 1998 15:34:33 +0200 (MET DST) From: Ugo Paternostro Subject: DNS Cache+MX+SendMail = Host not found... To: freebsd-questions@FreeBSD.ORG Message-id: Organization: Not an organization MIME-version: 1.0 X-Mailer: XFMail 1.2 [p0] on FreeBSD Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 8bit X-Priority: 3 (Normal) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hello guys, I have a problem (guess it? ;-) here: my Intranet is connected to the Internet through a machine that works as gateway (on a PPP -auto -alias link), DNS and mail hub. All the other machines on the network (3, btw, so not so big network...) are configured to send mail to the first one, using sendmail's nullclient config. Everything works flawlessly, but one case: suppose that the DNS maintains in its cache a record to somewhere.some.domain, with an MX record pointing to anotherplace.some.domain, but that it has no memory of what anotherplace.some.domain is, and you send a mail to foo@somewhere.some.domain. Well, in this case sendmail (on the gateway machine) will resolve the somewhere.some.domain address and fetch the MX record from the DNS, then it will try to resolve the MX address itself, that is *NOT* cached, so it gets a "non existing host/domain" answer from the DNS, and bounce back the mail with a permanent fatal error. I know I could force sendmail on the gateway to always queue mails, but I would like to avoid this, as then I should remember to issue a "sendmail -q" if I send an email while I'm connected to the Internet, and I don't want to. Is there another solution to this problem? Ah, BTW, the OS running on all the machine is Winslow 95. ... Ok, really: they are running STABLE ;-) TIA Bye, UP To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message