On Mon, Jul 07, 2008 at 11:28:05PM -0400, Keith Moore wrote:
> >
> >The site-dependent interpretation of the name is determined not by the
> >presence of dot within the name but its absence from the end. 
> 
> not so.  in many contexts the trailing dot is not valid syntax.

Let me be precise.  The resolver treats those names differently because
it was handed a name that did or did not end in a dot - the resolver's
syntax for absolute vs. relative pathname.  I understand that may
conflict with application syntax.  Applications that do not support an
explicit notation for absolute domain names will not be able to look
them up when those names are masked by site-dependent resolution of
relative names.  Both "hk" and "www.isi.deterlab.net" are relative
names and subject to masking.

I understand that such maskings are more intuitive with short names like
"hk", but that limitation of the application interface applies to any
relative domain name.

> 
> >I don't buy "unreliable" as a diagnosis for that state of affairs.  "hk"
> >operates exactly as any other DNS name with respect to search path. 
> 
> search path isn't the only factor here.

Understood.  It was the objection I was responding to, though.

> 
> there are also protocol specifications that expect DNS names to have 
> dots in them.

One could argue that such protocols are not able to express all valid
domain names, which may be a feature. :-)

That's probably a longer discussion than I want to have though, so I
agree that this is a stumbling block.

> 
> there are also software implementations that use the presence/absence of 
> a dot to distinguish a DNS name from some other kind of name.  in any 
> context where both a DNS name and something else can appear, it's useful 
> to be able to distinguish the two - and the presence/absence of a dot is 
> about the only test that works.

I'm sure that there are plenty of apps that break here, and certainly
some protocols that have been specified that way, and I feel the pain of
backward compatibility.  If I were running the website at hk, I'd
publicize the conventional DNS names and not hk.  

I really didn't intend to get as deeply into this as I did.  I was
honestly intrigued by a 2-letter hostname and wanted to see if it really
worked, as I could see no reason it wouldn't.  For me it did.

I understand that your resolver, server, and application may all prevent
it.  I also understand that using such names may sow confusion among
those who don't care to examine the workings of their DNS set-up.  And
that any confusion about computers is set upon by the unscrupulous to
gather money.  Encouraging TLD hostnames as a matter of policy is more
complex than noting that the DNS specifications allow such a thing.

But it was pretty cool. :-)

-- 
Ted Faber
http://www.isi.edu/~faber           PGP: http://www.isi.edu/~faber/pubkeys.asc
Unexpected attachment on this mail? See http://www.isi.edu/~faber/FAQ.html#SIG

Attachment: pgpDsbYVtxvai.pgp
Description: PGP signature

_______________________________________________
Ietf mailing list
Ietf@ietf.org
https://www.ietf.org/mailman/listinfo/ietf

Reply via email to