From owner-freebsd-net@FreeBSD.ORG Tue Oct 12 11:03:26 2010 Return-Path: Delivered-To: net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 855F41065673 for ; Tue, 12 Oct 2010 11:03:26 +0000 (UTC) (envelope-from egrosbein@rdtc.ru) Received: from eg.sd.rdtc.ru (eg.sd.rdtc.ru [62.231.161.221]) by mx1.freebsd.org (Postfix) with ESMTP id E38A88FC18 for ; Tue, 12 Oct 2010 11:03:25 +0000 (UTC) Received: from eg.sd.rdtc.ru (localhost [127.0.0.1]) by eg.sd.rdtc.ru (8.14.4/8.14.4) with ESMTP id o9CB3Mjo088554; Tue, 12 Oct 2010 18:03:22 +0700 (NOVST) (envelope-from egrosbein@rdtc.ru) Message-ID: <4CB4407A.5060907@rdtc.ru> Date: Tue, 12 Oct 2010 18:03:22 +0700 From: Eugene Grosbein User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; ru-RU; rv:1.9.1.10) Gecko/20100712 Thunderbird/3.0.5 MIME-Version: 1.0 To: Ian Smith References: <4CB2AF28.30309@rdtc.ru> <20101012152857.X2036@sola.nimnet.asn.au> In-Reply-To: <20101012152857.X2036@sola.nimnet.asn.au> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: net@freebsd.org Subject: Re: strange resolver behavour X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Oct 2010 11:03:26 -0000 On 12.10.2010 16:05, Ian Smith wrote: > > # host koin-nkz.com. > > koin-nkz.com has address 62.231.164.101 > > Host koin-nkz.com not found: 3(NXDOMAIN) > > > > This domain does not have MX records but NXDOMAIN seems to wrong return > > code to me. Think about MTA that does look-up for MX first, > > obtains NXDOMAIN and rejects mail. > > If a domain has no MX server, how's an MTA supposed to do mail with it? Then it should try to use A record if it exists. > On Mon, 11 Oct 2010, Eugene Grosbein wrote: > > Hi! > > > > FreeBSD 8.1-STABLE: > > > Well perhaps - but it works right when the proper DNS records exist. What if koin-nkz.com.my.ru. would exist and have MX records? MX lookup would succeed... Eugene Grosbein