From owner-freebsd-questions@FreeBSD.ORG Mon Oct 9 20:02:28 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 93CE116A4E9 for ; Mon, 9 Oct 2006 20:02:28 +0000 (UTC) (envelope-from pckizer@nostrum.com) Received: from nostrum.com (shaman.nostrum.com [72.232.15.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8A06F43D69 for ; Mon, 9 Oct 2006 20:02:23 +0000 (GMT) (envelope-from pckizer@nostrum.com) Received: from [172.17.1.122] (vicuna.estacado.net [72.1.129.69]) (authenticated bits=0) by nostrum.com (8.13.6/8.13.6) with ESMTP id k99K23uT074381 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NO); Mon, 9 Oct 2006 15:02:12 -0500 (CDT) (envelope-from pckizer@nostrum.com) In-Reply-To: <20061006105745.V54913@chylonia.3miasto.net> References: <20061006105745.V54913@chylonia.3miasto.net> Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <8F1AFBF2-8CBC-4E9A-930F-137EB0B6324A@nostrum.com> Content-Transfer-Encoding: 7bit From: pckizer@nostrum.com Date: Mon, 9 Oct 2006 15:02:02 -0500 To: Wojciech Puchar X-Mailer: Apple Mail (2.752.2) Received-SPF: pass (nostrum.com: 72.1.129.69 is authenticated by a trusted mechanism) Cc: freebsd-questions@freebsd.org Subject: Re: strange DNS problem 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: Mon, 09 Oct 2006 20:02:28 -0000 On 2006, Oct 6, at 04:02, Wojciech Puchar wrote: > one of my users reporting problem sending e-mail to @mil.be > sendmail reports host name lookup failure > host reports > > [wojtek@chylonia ~]$ host -t mx mil.be > mil.be mail is handled by 10 hermes01.mil.be. > > [wojtek@chylonia ~]$ host -t a hermes01.mil.be > hermes01.mil.be has address 194.7.21.40 > hermes01.mil.be has address 193.191.219.40 > Host hermes01.mil.be not found: 2(SERVFAIL) > ^^^^^^^^^^^^^ > > where's a problem? while hostr is able to get IP addresses but then > reports servfail? What you are seeing is the IPv6 AAAA lookup: # host -t aaaa hermes01.mil.be Host hermes01.mil.be not found: 2(SERVFAIL) Make sure you have the Sendmail option turned on to ignore the SERVFAIL messages: # grep AAAA /etc/mail/freebsd.mc define(`confBIND_OPTS', `WorkAroundBrokenAAAA') # grep AAAA /etc/mail/sendmail.cf O ResolverOptions=WorkAroundBrokenAAAA With that, mail should flow fine. Though I have to admit I am having a similar problem except the host is randomly (with a very high probability of it doing so) failing to respond at all rather than at least answering SERVFAIL. With no SERVFAIL it appears Sendmail/resolver consider the NS host to be down and do not fail through to try and lookup the A record. [I'm still trying to verify that.] -philip