From owner-freebsd-net@FreeBSD.ORG Wed Feb 27 18:38:13 2008 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F03E7106566B; Wed, 27 Feb 2008 18:38:13 +0000 (UTC) (envelope-from delphij@delphij.net) Received: from tarsier.delphij.net (tarsier.cn.freebsd.org [202.108.54.205]) by mx1.freebsd.org (Postfix) with ESMTP id EE42B8FC16; Wed, 27 Feb 2008 18:38:11 +0000 (UTC) (envelope-from delphij@delphij.net) Received: from tarsier.geekcn.org (tarsier.geekcn.org [202.108.54.204]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by tarsier.delphij.net (Postfix) with ESMTP id 7439428448; Thu, 28 Feb 2008 02:22:04 +0800 (CST) Received: from localhost (tarsier.geekcn.org [202.108.54.204]) by tarsier.geekcn.org (Postfix) with ESMTP id 2322FEB93B7; Thu, 28 Feb 2008 02:22:04 +0800 (CST) X-Virus-Scanned: amavisd-new at geekcn.org Received: from tarsier.geekcn.org ([202.108.54.204]) by localhost (mail.geekcn.org [202.108.54.204]) (amavisd-new, port 10024) with ESMTP id QsyZjjamkgjJ; Thu, 28 Feb 2008 02:21:58 +0800 (CST) Received: from charlie.delphij.net (71.5.7.139.ptr.us.xo.net [71.5.7.139]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tarsier.geekcn.org (Postfix) with ESMTP id 7E65DEB6575; Thu, 28 Feb 2008 02:21:57 +0800 (CST) DomainKey-Signature: a=rsa-sha1; s=default; d=delphij.net; c=nofws; q=dns; h=message-id:date:from:reply-to:organization:user-agent: mime-version:to:cc:subject:references:in-reply-to: x-enigmail-version:openpgp:content-type:content-transfer-encoding; b=UrgEaQJ/hTA6h1gSP3xnyNItsSQakNPfTUf5FwwieFR4HZXlLv/zM3cKnyKPYRdBR P2QWSbxR2yHEyWIL/lz8Q== Message-ID: <47C5AA43.2040407@delphij.net> Date: Wed, 27 Feb 2008 10:21:55 -0800 From: Xin LI Organization: The FreeBSD Project User-Agent: Thunderbird 2.0.0.9 (X11/20080122) MIME-Version: 1.0 To: Stefan Lambrev References: <47B2488D.70707@delphij.net> <47B34ED4.6090302@delphij.net> <47C54DDE.8070605@moneybookers.com> In-Reply-To: <47C54DDE.8070605@moneybookers.com> X-Enigmail-Version: 0.95.5 OpenPGP: id=18EDEBA0; url=http://www.delphij.net/delphij.asc Content-Type: text/plain; charset=x-gbk Content-Transfer-Encoding: 7bit Cc: =?x-gbk?Q?JINMEI_Tatuya_/_=C9=F1=C3=F7=DF=5F=D4=D5?= , d@delphij.net, ume@FreeBSD.org, freebsd-net@freebsd.org Subject: Re: [RESOLVED] Re: Strange resolver behavior X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: d@delphij.net List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Feb 2008 18:38:14 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Stefan Lambrev wrote: [snip] > Did you check http://tools.ietf.org/html/rfc2782 ? > It is "PROPOSED STANDARD" and MS DNS in Win2003 already uses it (if you > have domain controller for example). If I have understood the RFC correctly, it talks about SRV RR and not A RR, and as far as I know, there is no RFC updated 1034 and 952 on this aspect. The same thing worked for FreeBSD's portsnap service at the very least, and also Yahoo's domain key, but neither is an A RR having underscore and, for many traditional Internet applications like sendmail, an A RR with underscore is rejected. I have made a change on -CURRENT and is waiting for comments from others to see if it's suitable for MFC, to make it possible to resolve an A RR with underscore symbol, instead of querying it and drop the result, and give the application an opportunity to choose between rejecting or allowing _'s when they are using gethostbyname(). Cheers, - -- Xin LI http://www.delphij.net/ FreeBSD - The Power to Serve! -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFHxapDi+vbBBjt66ARAsynAKCziDnfUYMsGTFHwWGMPrmLuguUtACgh/Wa z/AliWmZg1soCOa+kY4TPDg= =UDvY -----END PGP SIGNATURE-----