Re: [dhcwg] How to encode DNS labels in DHCP options

Josh Littlefield <joshl@cisco.com> Thu, 06 September 2001 14:01 UTC

Received: from optimus.ietf.org (ietf.org [132.151.1.19] (may be forged)) by ietf.org (8.9.1a/8.9.1a) with ESMTP id KAA27682; Thu, 6 Sep 2001 10:01:14 -0400 (EDT)
Received: from optimus.ietf.org (localhost [127.0.0.1]) by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id JAA23145; Thu, 6 Sep 2001 09:58:28 -0400 (EDT)
Received: from ietf.org (odin [132.151.1.176]) by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id JAA23118 for <dhcwg@ns.ietf.org>; Thu, 6 Sep 2001 09:58:23 -0400 (EDT)
Received: from funnel.cisco.com (funnel.cisco.com [161.44.131.24]) by ietf.org (8.9.1a/8.9.1a) with ESMTP id JAA27548 for <dhcwg@ietf.org>; Thu, 6 Sep 2001 09:56:56 -0400 (EDT)
Received: from cisco.com (dhcp-161-44-148-129.cisco.com [161.44.148.129]) by funnel.cisco.com (8.8.5-Cisco.1/8.6.5) with ESMTP id JAA17118; Thu, 6 Sep 2001 09:57:44 -0400 (EDT)
Message-ID: <3B97809F.ADF3F8F0@cisco.com>
Date: Thu, 06 Sep 2001 09:56:47 -0400
From: Josh Littlefield <joshl@cisco.com>
Organization: Cisco Systems
X-Mailer: Mozilla 4.77 [en] (Windows NT 5.0; U)
X-Accept-Language: en
MIME-Version: 1.0
To: Bud Millwood <budm@weird-solutions.com>
CC: dhcwg@ietf.org
Subject: Re: [dhcwg] How to encode DNS labels in DHCP options
References: <Message of "Mon, 27 Aug 2001 21:12:05 EDT." <200108280112.f7S1C6T00354@grosse.bisbee.fugue.com> <200108280112.f7S1C6T00354@grosse.bisbee.fugue.com> <4.3.2.7.2.20010904170432.02ac0330@funnel.cisco.com> <20010906092043.IUA16067.fep04-svc.swip.net@there>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Transfer-Encoding: 7bit
Sender: dhcwg-admin@ietf.org
Errors-To: dhcwg-admin@ietf.org
X-Mailman-Version: 1.0
Precedence: bulk
List-Id: <dhcwg.ietf.org>
X-BeenThere: dhcwg@ietf.org
Content-Transfer-Encoding: 7bit

Bud Millwood wrote:
> 
> I'll admit I don't know much about the DNS binary name format, but I'm going
> to ask: why is it better to encode DNS names in binary than ASCII?

There are no special characters (such as ".", or a null terminator) in DNS
native format, so it requires no quoting characters (which would themselves
require quoting).  It is not intended to be directly printable, so character
set issues are transparent, or will be when IDN resolves questions about
localized, non-7-bit ASCII names.  The form is simply a series of counted
label strings, so no real parsing is involved in handling the names.

-- 
=====================================================================
Josh Littlefield                                  Cisco Systems, Inc.
joshl@cisco.com                                      250 Apollo Drive
tel: 978-244-8378  fax: same               Chelmsford, MA  01824-3627

_______________________________________________
dhcwg mailing list
dhcwg@ietf.org
http://www1.ietf.org/mailman/listinfo/dhcwg