From owner-freebsd-questions Sun Jun 2 10:48:42 2002 Delivered-To: freebsd-questions@freebsd.org Received: from tao.thought.org (sense-kline-250.oz.net [216.39.168.250]) by hub.freebsd.org (Postfix) with ESMTP id 5688237B409 for ; Sun, 2 Jun 2002 10:48:36 -0700 (PDT) Received: (from kline@localhost) by tao.thought.org (8.11.6/8.11.3) id g52HmOv06090; Sun, 2 Jun 2002 10:48:24 -0700 (PDT) (envelope-from kline) Date: Sun, 2 Jun 2002 10:48:24 -0700 From: Gary D Kline To: Joost Bekkers Cc: Bill Moran , FreeBSD Mailing List Subject: Re: obscure firewall and mail problem... Message-ID: <20020602174824.GA5931@tao.thought.org> References: <200206020800.g52803901241@tao.thought.org> <3CF9F896.3000106@potentialtech.com> <20020602152128.A3792@bps.jodocus.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020602152128.A3792@bps.jodocus.org> User-Agent: Mutt/1.3.28i X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: Observing 15 years of service to the Unix community Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, Jun 02, 2002 at 03:21:28PM +0200, Joost Bekkers wrote: > On Sun, Jun 02, 2002 at 06:51:02AM -0400, Bill Moran wrote: > > > > The order in which things appear in the DNS config is important. Generally, > > putting the MX record as the first record (after the SOA) works pretty well. > > > > Not true, order is irrelevant in dns. You can put your records in any order you want, > just make sure you use the correct name for the record. > > freebsd.org. 3600 IN SOA NS0.freebsd.org. hostmaster.freebsd.org. 102051802 1800 900 604800 1800 > freebsd.org. 3600 IN NS ns1.root.com. > freebsd.org. 3600 IN NS ns0.freebsd.org. > www.freebsd.org. 3600 IN A 216.136.204.117 > freebsd.org. 600 IN MX 10 hub.freebsd.org. > > is exactly the same as > > freebsd.org. 3600 IN SOA NS0.freebsd.org. hostmaster.freebsd.org. 102051802 1800 900 604800 1800 > freebsd.org. 600 IN MX 10 hub.freebsd.org. > freebsd.org. 3600 IN NS ns1.root.com. > freebsd.org. 3600 IN NS ns0.freebsd.org. > www.freebsd.org. 3600 IN A 216.136.204.117 > Here is what I have in my db.thought.org that _works_: ; ns1.thought.org. IN A 216.39.168.248 tao.thought.org. IN A 216.39.168.250 ; ; ; MX records thought.org. IN MX 10 ns1.thought.org. IN MX 20 tao.thought.org. ....But when I left ns1|sage as it is and changed "tao" to 10.0.0.2, mail to kline@thought.org failed; only mail to kline@tao.thought.org made it across. My bounced mail complained about thought.org pointing to itself, so I commented out the MX records. ; ns1.thought.org. IN A 216.39.168.248 tao.thought.org. IN A 10.0.0.2 ; ; ; MX records ;thought.org. IN MX 10 ns1.thought.org. ; IN MX 20 tao.thought.org. I want everytthing to flow through ns1.thought.org and have mail routed to my other machines on my LAN. Do you guys see what needs fixing with my MX records? or is this a sendmail config issue? gary -- Gary Kline kline@thought.org www.thought.org Public service Unix To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message