From owner-freebsd-questions@FreeBSD.ORG Tue Dec 11 12:07:47 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7FD1016A419 for ; Tue, 11 Dec 2007 12:07:47 +0000 (UTC) (envelope-from derek@computinginnovations.com) Received: from betty.computinginnovations.com (mail.computinginnovations.com [64.81.227.250]) by mx1.freebsd.org (Postfix) with ESMTP id 3927113C448 for ; Tue, 11 Dec 2007 12:07:46 +0000 (UTC) (envelope-from derek@computinginnovations.com) Received: from p28.computinginnovations.com (dhcp-10-20-30-100.computinginnovations.com [10.20.30.100]) (authenticated bits=0) by betty.computinginnovations.com (8.13.8/8.13.8) with ESMTP id lBBC7cud053905; Tue, 11 Dec 2007 06:07:39 -0600 (CST) (envelope-from derek@computinginnovations.com) Message-Id: <6.0.0.22.2.20071211055812.024efda0@mail.computinginnovations.com> X-Sender: derek@mail.computinginnovations.com X-Mailer: QUALCOMM Windows Eudora Version 6.0.0.22 Date: Tue, 11 Dec 2007 06:09:11 -0600 To: jekillen , User Questions From: Derek Ragona In-Reply-To: <1049f53fe18e8533721516ed7dc217ed@prodigy.net> References: <1049f53fe18e8533721516ed7dc217ed@prodigy.net> Mime-Version: 1.0 X-ComputingInnovations-MailScanner-Information: Please contact the ISP for more information X-ComputingInnovations-MailScanner: Found to be clean X-ComputingInnovations-MailScanner-From: derek@computinginnovations.com X-Spam-Status: No Content-Type: text/plain; charset="us-ascii"; format=flowed X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: named mystery X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Dec 2007 12:07:47 -0000 At 12:57 AM 12/10/2007, jekillen wrote: >Hello: >I have two name servers for four domains. >The primary name server is running FreeBSD v 6.0 >and the secondary is running v 6.2. >I have an MX record for each of the four registered >domains. I have set up Postfix to act as a smart host >mail hub (the MX host). One of the named record >database is for one of the sites. When I try to send >an E-mail from this message to list e-mail address. The messages >bounce for dns lookup failure. >The name that is being looked up is > .... > >Some how the two names are being mashed together and then >looked up, causing the resolution failure. > >dig targetDomainName.com -t MX produces the record according to >my ISP's name servers, which is the mashed version. Possibly they >have it wrong? Someone is screwing up the lookup for this. > >There was a period missing after the MX host name record. >I added that and rebooted the machine with the primary name >server just to insure that named got the change and checked the >secondary record and it has the change > >I did dig @targerDomainName.com -t MX and got my secondary >name server responding. I checked the primary server to see that >it is actually running at the time, it was and is. >but the bak file on the secondary server has > > IN MX 10 host.domain.tld. >$ORIGIN targetDomain.tld. > > >when the record on primary server is > >@ IN MX 10 host.domain.tld. > >@ in this context should reference the domain this >file is for. >If anyone is a wiz at dns record and problems can you >make any suggestions or recommendations? >thank you in advance >Jeff K Jeff, I just checked how my DNS files look on two 6.2 servers. The primary zone files will have the: @ while the secondary zone files will not have these. In my zone files the MX appears on the primary as a the lines: ; MX Record @ IN MX 10 mail.mydomain.com. Note the last period after the domain suffix is there to show it is a fully qualified name, with that name defined earlier in this zone file. On the secondary server the zone files has: MX 10 mail.mydomain.com. In both files the 10 is the weight for the MX record. If you have multiple servers you want to accept email, you would use this number to designate the order they should get mail, smaller numbers are primary to get email. When you make a change on the primary DNS server zone file be sure to change the serial number in that zone file. Also I usually stop and start named on the primary. I also remove the backup files on the secondary servers and stop and start named on those too to see that the new files are transferred and thus being used. Hope this helps. -Derek -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support.