[bind10-dev] arbitrary character and plain char

JINMEI Tatuya / 神明達哉 jinmei at isc.org
Thu Apr 26 00:17:15 UTC 2012


At Wed, 25 Apr 2012 16:20:54 -0400,
Robert Edmonds <edmonds at isc.org> wrote:

> > The following are what I tried to explain in the today's loader
> > discussion:
> > 
> > RFC1035 states: "The labels in the domain name are expressed as
> > character strings and separated by dots.  Quoting conventions allow
> > arbitrary characters to be stored in domain names."
> > 
> > It's not clear to me whether it allows a domain name in a master files
> > contain a 8-bit character value of , e.g. 255, not using the special
> > encoding of \255.
> 
> also RFC 1035:
> 
>     Because these files are text files several special encodings are
>     necessary to allow arbitrary data to be loaded.
> 
>     [...]
>     \DDD            where each D is a digit is the octet corresponding to
>                     the decimal number described by DDD.  The resulting
>                     octet is assumed to be text and is not checked for
>                     special meaning.
>     [...]

Yes, I'm aware of this, and,

> the first sentence seems relatively clear (provided definitions of "text
> file" and "arbitrary data") but i'm not quite sure what that last
> sentence means exactly.

The first sentence is pretty clear to me, but I'm still not sure if it
(especially the "necessary") means that we must use the \DDD encoding
for character values > 127.

In practice, I guess people use the special encoding for these values
anyway, so probably my question wouldn't matter much.

---
JINMEI, Tatuya


More information about the bind10-dev mailing list