From owner-freebsd-questions@FreeBSD.ORG Wed May 26 11:23:09 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D5A4416A4CE for ; Wed, 26 May 2004 11:23:09 -0700 (PDT) Received: from main.gmane.org (main.gmane.org [80.91.224.249]) by mx1.FreeBSD.org (Postfix) with ESMTP id 097B643D49 for ; Wed, 26 May 2004 11:23:09 -0700 (PDT) (envelope-from freebsd-questions@m.gmane.org) Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1BT32s-0004jL-00 for ; Wed, 26 May 2004 20:22:30 +0200 Received: from 86.red-213-97-212.pooles.rima-tde.net ([213.97.212.86]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 26 May 2004 20:22:30 +0200 Received: from lists-gmane by 86.red-213-97-212.pooles.rima-tde.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 26 May 2004 20:22:30 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Joan Picanyol i Puig Date: Wed, 26 May 2004 20:21:53 +0200 Lines: 36 Message-ID: References: <002801c4433d$19ab2890$0701a8c0@darryl> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 86.red-213-97-212.pooles.rima-tde.net Sender: news Subject: Re: tinydns +MX X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 May 2004 18:23:10 -0000 On Wed, 26 May 2004 12:18:36 -0500, Darryl Hoar wrote: > I have djbdns installed and working. I have been using DNS > on my LAN and having it resolve the names for my local machines. > It forwards any unresolved to my ISP's dns server. Detail your setup further. > Recently, I have installed qmail on my LAN for internal email. > I used the ./add-mx to add a mx record for my machine which > is running qmail. > > the mx record in the data file looks like: > @osborneindustries.com:192.168.1.89:a::86400 > > If I send test mail to darryl@osborneindustries.com, it gets forwarded to > my ISP's email server. If I send email to darryl@mail.osborneindustries.com > (name of my qmail server), it gets delivered just fine. > > How do I get my mx record setup so that user@osborneindustries.com gets > delivered to mail.osborneindustries.com ? qmail is going to the root servers to look for you mx, and thus finds your isp's. You have to use a split-horizon setup for that. > here are a couple of tests that I ran: [...] please run from inside your lan dnsqr mx osborneindustries.com qvb -- pica