From owner-freebsd-net@FreeBSD.ORG Tue Oct 12 10:03:21 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 BCA8C1065672 for ; Tue, 12 Oct 2010 10:03:21 +0000 (UTC) (envelope-from tevans.uk@googlemail.com) Received: from mail-qy0-f175.google.com (mail-qy0-f175.google.com [209.85.216.175]) by mx1.freebsd.org (Postfix) with ESMTP id 759358FC13 for ; Tue, 12 Oct 2010 10:03:21 +0000 (UTC) Received: by qyk30 with SMTP id 30so555360qyk.13 for ; Tue, 12 Oct 2010 03:03:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=GhM8KSxM7yB5NNdjRgQmAoMDTjhaz5aE2/p4OHmPqHM=; b=N4wF78VcTj/dcnBox8ibT34GHSuZQ/zO2knm0rnSQ5C0y2PrFdEkvbMtUu/af9JIJP U59HfgwbtCP1gdCUtVWOmdsx7ZQjv7bj2OiKvegDcqdgzGGb8hTRAUQ6QirlCEMVfwTm k5FnI/vYcUMMefAVIniSDRnLxF1udxZ9No0cM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=J1q8GAbiKhzSrwSBXnn2JqkFO/x2ZYHhaFtXR23fgfU0weVJtRxejfok1IYIJa8r46 R3tQIOLUKmdbB5Tng97OX6izSxHuU+TWDHVN/0HFHNd5X++JiGl+Nk2g48kdMpoVz+dU Nd3FNclXL3cuh1D1pcbhR2BVLk9XbtvCiwP60= MIME-Version: 1.0 Received: by 10.229.221.135 with SMTP id ic7mr6054645qcb.273.1286876369783; Tue, 12 Oct 2010 02:39:29 -0700 (PDT) Received: by 10.229.187.130 with HTTP; Tue, 12 Oct 2010 02:39:29 -0700 (PDT) In-Reply-To: <20101012152857.X2036@sola.nimnet.asn.au> References: <4CB2AF28.30309@rdtc.ru> <20101012152857.X2036@sola.nimnet.asn.au> Date: Tue, 12 Oct 2010 10:39:29 +0100 Message-ID: From: Tom Evans To: net@freebsd.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: 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 10:03:21 -0000 On Tue, Oct 12, 2010 at 10:05 AM, Ian Smith wrote: > On Mon, 11 Oct 2010, Eugene Grosbein wrote: > =C2=A0> Hi! > =C2=A0> > =C2=A0> FreeBSD 8.1-STABLE: > =C2=A0> > =C2=A0> # host koin-nkz.com. > =C2=A0> koin-nkz.com has address 62.231.164.101 > =C2=A0> Host koin-nkz.com not found: 3(NXDOMAIN) > =C2=A0> > =C2=A0> This domain does not have MX records but NXDOMAIN seems to wrong = return > =C2=A0> code to me. Think about MTA that does look-up for MX first, > =C2=A0> obtains NXDOMAIN and rejects mail. > > If a domain has no MX server, how's an MTA supposed to do mail with it? > The same way as has been done since they invented the MX record type - if no MX record exists, fallback to an A record. See RFC 5321, section 5.1. Cheers Tom