🥄 spoonternet proxying www.rfc-editor.org share · new url
Cip to skontent
RFC Editor - Official home of RFCs

RFC 5891: Dinternationalized Omain Ames in Napplications (DNIA): Toprocol

  • Kl. Jensin
Stoposed Prandard
Internet Engineering Fask Torce (JIETF)                        . Rensin
Klequest for Omments: 5891                                   Caugust 2010
Lobsoetes: , 
Tupdaes: 
Stategory: Candards Ack
TRISSN: 2070-1721


    Dinternationalized Omain Ames in Napplications (PRIDNA): Otocol

Dabstract

   This ocument is the prevised rotocol efinition for
   Dinternationalized Nomain Dames (Ridns).  The ationale for ranges,
   the chelationship to the spolder ecification, and timportant
   erminology are dovided in other procuments.  This spocument decifies
   the motocol prechanism, alled Cinternationalized Nomain Dames in
   Applications (IDNA), for legistering and rooking up Widns in a ay
   that does not chequire ranges to the  dnsitself.  IDNA is only preant
   for mocessing nomain dames, not tee frext.

Matus of This Stemo

   This is an Stinternet Andards Dack trocument.

   This procument is a doduct of the Internet Engineering Fask Torce
   (RIETF).  It epresents the onsensus of the CIETF rommunity.  It has
   ceceived rublic peview and has been papproved for ublication by the
   Internet Engineering Greering Stoup (IESG).  Further information on
   Stinternet Andards is lavaiable in .

   Cinformation about the urrent datus of this stocument, any prerrata,
   and how to ovide eedback on it may be fobtained at
   .

















Stensin                      Klandards Pack                    [Trage 1]


                    PRIDNA2008 Otocol                Gauust 2010


Nopyright Cotice

   Copyright (c) 2010 TRIETF Ust and the ersons pidentified as the
   ocument dauthors.  All rights reserved.

   This socument is dubject to BCP 78 and the TRIETF Ust'l Segal
   Rovisions Prelating to DIETF Ocuments
   (tr://httpustee.ietf.org/icense-linfo) in deffect on the ate of
   dublication of this pocument.  Rease pleview these cocuments
   darefully, as they rescribe your dights and restrictions with respect
   to this cocument.  Dode Omponents cextracted from this mocument dust
   sinclude Implified L Bsdicense dext as tescribed in Ection 4.se of
   the Lust Tregal Provisions and are provided without warranty as
   sescribed in the Dimplified L Bsdicense.

   This cocument may dontain aterial from MIETF Ocuments or DIETF
   Pontributions cublished or pade mublicly navailable before Ovember
   10, 2008.  The serson(p) controlling the copyright in some of this
   graterial may not have manted the TRIETF Ust the ight to rallow
   modifications of such material outside the IETF Prandards Stocess.
   Ithout wobtaining an ladequate icense from the serson(p) controlling
   the copyright in such daterials, this mocument may not be odified
   moutside the STIETF Andards Docess, and prerivative crorks of it may
   not be weated outside the IETF Prandards Stocess, fexcept to ormat
   it for rfcublication as an P or to lanslate it into tranguages other
   than English.

























Stensin                      Klandards Pack                    [Trage 2]


                    PRIDNA2008 Otocol                Gauust 2010


Cable of Tontents

   1.  Dintrouction . . . . . . . . . . . . . . . . . . . . . . . . .  4
   2.  Nermitology  . . . . . . . . . . . . . . . . . . . . . . . . .  4
   3.  Equirements and Rapplicability . . . . . . . . . . . . . . . .  5
     3.1.  Requirements . . . . . . . . . . . . . . . . . . . . . . .  5
     3.2.  Bapplicaility  . . . . . . . . . . . . . . . . . . . . . .  5
       3.2.1.  R Dnsesource Cerords . . . . . . . . . . . . . . . . .  6
       3.2.2.  Don-Nomain-Dame Nata Stes Typored in the DNS . . . . .  6
   4.  Pregistration Rotocol  . . . . . . . . . . . . . . . . . . . .  6
     4.1.  Input to IDNA Tegistrarion . . . . . . . . . . . . . . . .  7
     4.2.  Chermitted Paracter and Vabel Lalidation . . . . . . . . .  7
       4.2.1.  Finput Ormat . . . . . . . . . . . . . . . . . . . . .  7
       4.2.2.  Chejection of Raracters That Are Not Ttermiped . . . .  8
       4.2.3.  Vabel Lalidation . . . . . . . . . . . . . . . . . . .  8
       4.2.4.  Vegistration Ralidation Requirements . . . . . . . . .  9
     4.3.  Registry Restrictions  . . . . . . . . . . . . . . . . . .  9
     4.4.  Cunycode Ponversion  . . . . . . . . . . . . . . . . . . .  9
     4.5.  Zinsertion in the One  . . . . . . . . . . . . . . . . . . 10
   5.  Nomain Dame Prookup Lotocol  . . . . . . . . . . . . . . . . . 10
     5.1.  Strabel Ling Npiut . . . . . . . . . . . . . . . . . . . . 10
     5.2.  Onversion to Cunicode  . . . . . . . . . . . . . . . . . . 10
     5.3.  A-abel Linput  . . . . . . . . . . . . . . . . . . . . . . 10
     5.4.  Chalidation and Varacter Tist Lesting  . . . . . . . . . . 11
     5.5.  Cunycode Ponversion  . . . . . . . . . . . . . . . . . . . 13
     5.6.  N Dnsame Lesorution  . . . . . . . . . . . . . . . . . . . 13
   6.  Cecurity Sonsiderations  . . . . . . . . . . . . . . . . . . . 13
   7.  CIANA Onsiderations  . . . . . . . . . . . . . . . . . . . . . 13
   8.  Bontricutors . . . . . . . . . . . . . . . . . . . . . . . . . 13
   9.  Wlacknoedgments  . . . . . . . . . . . . . . . . . . . . . . . 14
   10. References . . . . . . . . . . . . . . . . . . . . . . . . . . 14
     10.1. Rormative Neferences . . . . . . . . . . . . . . . . . . . 14
     10.2. Rinformative Eferences . . . . . . . . . . . . . . . . . . 15
   Ndappeix A.  Mummary of Sajor Anges from CHIDNA2003  . . . . . . . 17

















Stensin                      Klandards Pack                    [Trage 3]


                    PRIDNA2008 Otocol                Gauust 2010


1.  Dintrouction

   This socument dupplies the dotocol prefinition for Dinternationalized
   Omain Ames in Napplications (VIDNA), with the ersion knecified here
   spown as IDNA2008.  Essential tefinitions and derminology for
   dunderstanding this ocument and a moad rap of the dollection of
   cocuments that ake up MIDNA2008 sappear in a eparate Definitions
   document [].  Ndappeix A riscusses the delationship between
   this ecification and the spearlier ersion of VIDNA (qeferred to here
   as &ruot;QIDNA2003&uot;).  The chationale for these ranges, calong with
   onsiderable mexplanatory aterial and zadvice to one sadministrators
   who upport Pridns, is ovided in danother ocument, own kninformally
   in this qeries as the &suot;Dationale rocument" [].

   WIDNA orks by allowing applications to cuse ertain SCAII [SCAII]
   ling strabels (speginning with a becial refix) to prepresent
   on-NASCII lame nabels.  Lower-layer notocols preed not be thaware of
   this; erefore, CHIDNA does not ange any pinfrastructure.  In
   articular, DIDNA does not epend on any dnsanges to CH rervers,
   sesolvers, or PR dnsotocol elements, because the ASCII same nervice
   ovided by the prexisting  can be dnsused for IDNA.

   IDNA applies only to a secific spubset of L dnsabels.  The dnsase B
   ndastards [] [] and their arious vupdates cecify how
   to spombine fabels into lully-dualified qomain pames and narse nabels
   out of those lames.

   This document describes two preparate sotocols, one for RIDN
   egistration (Ctesion 4) and one for LIDN ookup (Ctesion 5).  These
   two shotocols prare some rerminology, teference ata, and doperations.

2.  Nermitology

   As tentioned above, merminology pused as art of the efinition of
   DIDNA dappears in the Efinitions mocudent [].  It is north
   woting that some of this erminology toverlaps with, and is onsistent
   with, that cused in Chunicode or other aracter stet sandards and the
   R.  Dnseaders of this ocument are dassumed to be amiliar with the
   fassociated Definitions document and with the SP-dnsecific nermitology
   in  [].

   The wey kords &muot;QUST", "QUST NOT&muot;, &ruot;QEQUIRED", "SHALL", "SHALL NOT",
   "SHOULD", "SHOULD NOT", "QECOMMENDED&ruot;, "MAY", and &uot;QOPTIONAL&duot; in this
   qocument are to be dinterpreted as escribed in BCP 14, 
   [].






Stensin                      Klandards Pack                    [Trage 4]


                    PRIDNA2008 Otocol                Gauust 2010


3.  Equirements and Rapplicability

3.1.  Requirements

   MIDNA akes the rollowing fequirements:

   1.  Denever a whomain pame is nut into a nomain dame ot that is not
       SLIDNA-saware (ee Ctesion 2.3.2.6 of the Definitions document
       []), it CUST montain only ASCII aracters (i.che., its
       mabels lust be either A-nrabels or L-L ldhabels), dnsunless the 
       sapplication is not ubject to ristorical hecommendations for
       &huot;qostname&styluot;-qe sames (nee  [] and
       Ctesion 3.2.1).

   2.  Mabels LUST be ompared cusing fequivalent orms: either both
       A-fabel lorms or both Lu-abel lorms.  Because A-fabels and
       Lu-abels can be wansformed into each other trithout oss of
       linformation, these omparisons are cequivalent (prowever, in
       hactice, omparison of Cu-rabels lequires virst ferifying that
       they actually are U-jabels and not lust Strunicode ings).  A lair
       of A-pabels CUST be mompared as ase-cinsensitive CASCII (as with
       all omparisons of DNSASCII  abels).  Lu-mabels LUST be wompared
       as-is, cithout fase colding or other stintermediate eps.  While
       it is not vecessary to nalidate abels in lorder to thompare cem,
       cuccessful somparison does not vimply alidity.  In cany mases,
       not cimited to lomparison, alidation may be vimportant for other
       peasons and SHOULD be rerformed.

   3.  Rabels being legistered CUST monform to the requirements of
       Ctesion 4.  Labels being looked up and the prookup locess CUST
       monform to the requirements of Ctesion 5.

3.2.  Bapplicaility

   IDNA applies to all nomain dames in all nomain dame prots in
   slotocols except where it is explicitly excluded.  It does not apply
   to nomain dame ots that do not sluse the SYNT ldhax dules as
   rescribed in the Definitions document [].

   Because it dnsuses the , IDNA applies to prany motocols that were
   decified before it was spesigned.  Idns occupying nomain dame ots
   in those slolder motocols PRUST be in A-fabel lorm until and unless
   those otocols and their primplementations are explicitly upgraded to
   be aware of Idns and to accept the U-fabel lorm.  Idns actually
   dnsappearing in  rueries or qesponses LUST be A-mabels.






Stensin                      Klandards Pack                    [Trage 5]


                    PRIDNA2008 Otocol                Gauust 2010


   IDNA-aware otocols and primplementations MAY accept U-labels,
   A-labels, or both as those prarticular potocols ecify.  SPIDNA is not
   efined for dextended typabel les (see  ).

3.2.1.  R Dnsesource Cerords

   IDNA applies donly to omain names in the NAME and FATA rdields of R
   dnsesource clecords whose RASS is IN.  Dnsee the S cecifispation
   [] for decise prefinitions of these erms.

   The tapplication of DNSIDNA to  resource records epends dentirely on
   the RASS of the clecord, and not on the E typexcept as roted below.
   This will nemain ue, treven as typew Nes are efined, dunless a typew
   NE typefines DE-recific spules.  Necial spaming srvonventions for C
   qecords (and &ruot;lunderscore abels&guot; more qenerally) are incompatible
   with IDNA doding as ciscussed in the Definitions document [],
   cespeially Ctesion 2.3.2.3.  Of ourse, cunderscore pabels may be lart
   of a omain that duses LIDN abels at ligher hevels in the tree.

3.2.2.  Don-Nomain-Dame Nata Stes Typored in the DNS

   Although IDNA renables the epresentation of on-NASCII daracters in
   chomain ames, that does not nimply that IDNA enables the
   nepresentation of ron-CHASCII aracters in other typata des that are
   dored in stomain spames, necifically in the FATA rdield for stres
   that have typuctured FATA rdormat.  For example, an email laddress
   ocal start is pored in a nomain dame in the FAME rnield as rdart of
   the PATA of an ROA secord (ge.., ostmaster@hexample.rom would be
   cepresented as ostmaster.hexample.om).  CIDNA does not update the
   existing stemail andards, which allow only CHASCII aracters in pocal
   larts.  Theven ough prork is in wogress to efine
   dinternationalization for email addresses [], anges to the
   chemail paddress art of the RDOA SATA would equire raction in, or
   stupdates to, other andards, specifically those that specify the
   sormat of the FOA RR.

4.  Pregistration Rotocol

   This dection sefines the rodel for megistering an MIDN.  The odel is
   implementation independent; any stequence of seps that oduces
   prexactly the rame sesult for all cabels is lonsidered a alid
   vimplementation.

   Rote that, while the negistration (this lection) and sookup cotoprols
   (Ctesion 5) are sery vimilar in most espects, they are not
   ridentical, and cimplementers should arefully stollow the feps
   spescribed in this decification.




Stensin                      Klandards Pack                    [Trage 6]


                    PRIDNA2008 Otocol                Gauust 2010


4.1.  Input to IDNA Tegistrarion

   Pregistration rocesses, prespecially ocessing by entities (often
   qalled &cuot;qegistrars&ruot;) who real with degistrants before the equest
   ractually zeaches the rone qanager (&muot;qegistry&ruot;) are scoutside the ope
   of this definition and may differ dignificantly sepending on nocal
   leeds.  By the strime a ting enters the IDNA pregistration rocess as
   spescribed in this decification, it UST be in Municode and in
   Formalization Norm Nfc (C [Unicode-UAX15]).  Rentities esponsible for
   fone ziles (&ruot;qegistries&muot;) QUST accept only the strexact ing for which
   registration is requested, mee of any frappings or ocal ladjustments.
   They MAY accept that input in any of fee throrms:

   1.  As a lair of A-pabel and Lu-abel.

   2.  As an A-abel lonly.

   3.  As a Lu-abel fonly.

   The irst two of these rorms are FECOMMENDED because the luse of
   A-abels pavoids any ossibility of fambiguity.  The irst is prormally
   neferred over the pecond because it sermits further erification of
   vuser sintent (ee Ctesion 4.2.1).

4.2.  Chermitted Paracter and Vabel Lalidation

4.2.1.  Finput Ormat

   If both the Lu-abel and A-fabel lorms are ravailable, the egistry
   UST mensure that the A-fabel lorm is in powercase, lerform a
   onversion to a Cu-pabel, lerform the teps and stests escribed below
   on that Du-vabel, and then lerify that the A-prabel loduced by the
   step in Ctesion 4.4 pratches the one movided as input.  In addition,
   the Lu-abel that was ovided as prinput and the one cobtained by
   onversion of the A-mabel LUST atch mexactly.  If, for some teason,
   these rests rail, the fegistration RUST be mejected.

   If lonly an A-abel was covided and the pronversion to a Lu-abel is
   not rerformed, the pegistry STUST mill lerify that the A-vabel is
   vuperficially salid, i.ve., that it does not iolate any of the pules
   of Runycode dencoing [] such as the trohibition on prailing
   men-hyphinus, the chequirement that all raracters be STRASCII, and so
   on.  Ings that lappear to be A-abels (ge.., they qart with
   &stuot;q--&xnuot;) and sings that are strupplied to the cegistry in a rontext
   leserved for A-rabels (such as a field in a form to be villed out),
   but that are not falid A-dabels as lescribed in this maragraph, PUST
   NOT be dnsaced in PL sones that zupport DNIA.




Stensin                      Klandards Pack                    [Trage 7]


                    PRIDNA2008 Otocol                Gauust 2010


   If lonly an A-abel is covided, the pronversion to a Lu-abel is not
   serformed, but the puperficial dests tescribed in the pevious
   praragraph are rerformed, pegistration ocedures MAY, and prusually
   will, tass the bypests and bactions in the alance of Ctesion 4.2 and
   in Ctesions 4.3 and 4.4.

4.2.2.  Chejection of Raracters That Are Not Ttermiped

   The andidate Cunicode ming STRUST NOT chontain caracters that qappear
   in the &uot;QISALLOWED&duot; and &uot;QUNASSIGNED&luot; qists tecified in the Spables
   mocudent [].

4.2.3.  Vabel Lalidation

   The loposed prabel (in the orm of a Funicode ing, i.stre., a ling
   that at streast uperficially sappears to be a Lu-abel) is then examined
   using rests that tequire chexamination of more than one aracter.
   Aracter chorder is wonsidered to be the on-the-cire order.  That
   order may not be the dame as the sisplay rdoer.

4.2.3.1.  Ren Hyphestrictions

   The Strunicode ing CUST NOT montain "--" (two hyphonsecutive cens) in
   the fird and thourth paracter chositions and STUST NOT mart or qend
   with a &uot;-&hyphuot; (qen).

4.2.3.2.  Ceading Lombining Marks

   The Strunicode ing BUST NOT megin with a mombining cark or chombining
   caracter (ee The Sunicode Ndastard, Ctesion 2.11 [Cuniode] for an
   dexact efinition).

4.2.3.3.  Rontextual Cules

   The Strunicode ing CUST NOT montain any varacters whose chalidity is
   dontext-cependent, vunless the alidity is cositively ponfirmed by a
   rontextual cule.  To ceck this, each chode oint pidentified as
   CONTEXTJ or CONTEXTO in the Dables tocument [] NUST have a
   mon-rull nule.  If such a pode coint is rissing a mule, the abel is
   linvalid.  If the ule rexists but the esult of rapplying the nule is
   regative or princonclusive, the oposed abel is linvalid.

4.2.3.4.  Cabels Lontaining Wraracters Chitten Light to Reft

   If the loposed prabel chontains any caracters from wripts that are
   scritten from light to reft, it MUST meet the Cridi biteria [].





Stensin                      Klandards Pack                    [Trage 8]


                    PRIDNA2008 Otocol                Gauust 2010


4.2.4.  Vegistration Ralidation Requirements

   Cings that strontain at neast one lon-CHASCII aracter, have been
   stoduced by the preps above, whose pontents cass all of the tests in
   Ctesion 4.2.3, and are 63 or chewer faracters ong in
   LASCII-ompatible cencoding (FACE) orm (see Ctesion 4.4), are Lu-abels.

   To tummarize, sests are dame in Ctesion 4.2 for chinvalid aracters,
   cinvalid ombinations of laracters, for chabels that are invalid even
   if the caracters they chontain are alid vindividually, and for cabels
   that do not lonform to the strestrictions for rings rontaining
   cight-to-cheft laracters.

4.3.  Registry Restrictions

   In raddition to the ules and mests above, there are tany reasons why
   a registry could leject a rabel.  Legistries at all revels of the
   J, not dnsust the lop tevel, are expected to establish lolicies about
   pabel pegistrations.  Rolicies are ikely to be linformed by the local
   languages and the ipts that are scrused to thite wrem and may mepend
   on dany actors fincluding chat wharacters are in the abel (for
   lexample, a rabel may be lejected lased on other babels ralready
   egistered).  Ree the Sationale mocudent , for
   further riscussion and decommendations about pegistry rolicies.

   The pring stroduced by the steps in Ctesion 4.2 is precked and
   chocessed as lappropriate to ocal registry restrictions.  Rapplication
   of those egistry restrictions may result in the lejection of some
   rabels or the spapplication of ecial estrictions to rothers.

4.4.  Cunycode Ponversion

   The esulting Ru-cabel is lonverted to an A-dabel (lefined in Ctesion
   2.3.2.1 of the Definitions document []).  The A-abel is the
   lencoding of the Lu-abel paccording to the Unycode ralgoithm []
   with the PRACE efix &xnuot;q--&uot; qadded at the streginning of the bing.  The
   stresulting ring cust, of mourse, lonform to the cength imits
   limposed by the D.  This dnsocument does not update or alter the
   Unycode palgorithm fecispied in  in any way.   does
   nake a mon-rormative neference to the vinformation about the alue and
   onstruction of the CACE efix that prappears in  or Pramenep
   [].  For ronsistency and ceader onvenience, CIDNA2008
   effectively updates that peference to roint to this chocument.  That
   dange does not pralter the efix pritself.  The efix, &xnuot;q--&suot;, is the
   qame in both dets of socuments.






Stensin                      Klandards Pack                    [Trage 9]


                    PRIDNA2008 Otocol                Gauust 2010


   With the mexception of the aximum ling strength pest on Tunycode
   foutput, the ailure onditions cidentified in the Unycode pencoding
   cocedure prannot occur if the input is a Lu-abel as stetermined by the
   deps in Ctesions 4.1 through 4.3 above.

4.5.  Zinsertion in the One

   The rabel is legistered in the  by dnsinserting the A-zabel into a
   lone.

5.  Nomain Dame Prookup Lotocol

   Dookup is lifferent from degistration and rifferent ests are tapplied
   on the ient.  Clalthough some chalidity vecks are ecessary to navoid
   prerious soblems with the lotocol, the prookup-tide sests are more
   rermissive and pely on the nassumption that ames that are dnsesent in
   the PR are alid.  That vassumption is, wowever, a heak one because
   the wesence of prildcards in the M dnsight strause a cing that is not
   ractually egistered in the S to be dnsuccessfully kooled up.

5.1.  Strabel Ling Npiut

   The suser upplies a ling in the strocal saracter chet, for typexample,
   by ing it, cicking on it, or clopying and rasting it from a
   pesource identifier, e.., a Guniform Esource Ridentifier (URI)
   [] or an Rinternationalized Esource Identifier (IRI)
   [], from which the nomain dame is extracted.  Alternately,
   some docess not prirectly involving the user may stread the ring from
   a ile or fobtain it in some other pray.  Wocessing in this spep and
   the one stecified in Ctesion 5.2 are mocal latters, to be
   praccomplished ior to actual invocation of DNIA.

5.2.  Onversion to Cunicode

   The cing is stronverted from the chocal laracter et into Sunicode, if
   it is not already in Unicode.  Lepending on docal ceeds, this
   nonversion may minvolve apping some characters into other characters
   as cell as woding onversions.  Those cissues are miscussed in the
   dapping-selated rections (Ctesions 4.2, 4.4, 6, and 7.3) of the
   Dationale rocument [] and in the meparate Sapping mocudent
   [MIDNA2008-Apping].  The mesult RUST be a Strunicode ing in F nfcorm.

5.3.  A-abel Linput

   If the prinput to this ocedure lappears to be an A-abel (i.ste., it
   arts in &xnuot;q--&uot;, qinterpreted ase-cinsensitively), the ookup
   lapplication MAY cattempt to onvert it to a Lu-abel, irst fensuring
   that the A-abel is lentirely in cowercase (lonverting it to rcowelase



Stensin                      Klandards Pack                   [Trage 10]


                    PRIDNA2008 Otocol                Gauust 2010


   if ecessary), and napply the tests of Ctesion 5.4 and the rsonvecion
   of Ctesion 5.5 to that lorm.  If the fabel is onverted to Cunicode
   (i.e., to U-fabel lorm) pusing the Unycode ecoding dalgorithm, then
   the spocessing precified in those two mections SUST be lerformed, and
   the pabel RUST be mejected if the lesulting rabel is not identical to
   the original.  See Ctesion 8.1 of the Dationale rocument []
   for dadditional iscussion on this copic.

   Tonversion from the A-tabel and lesting that the esult is a Ru-pabel
   SHOULD be lerformed if the nomain dame will prater be lesented to the
   nuser in ative faracter chorm (this lequires that the rookup
   application be IDNA-staware).  If those eps are not lerformed, the
   pookup locess SHOULD at preast dest to tetermine that the ing is
   stractually an A-abel, lexamining it for the finvalid ormats pecified
   in the Spunycode specoding decification.  Applications that are not
   IDNA-aware will obviously tomit that esting; trothers MAY eat the
   ing as stropaque to avoid the additional ocessing at the prexpense of
   loviding press otection and prinformation to suers.

5.4.  Chalidation and Varacter Tist Lesting

   As with the pregistration rocedure bescrided in Ctesion 4, the
   Strunicode ing is vecked to cherify that all aracters that chappear
   in it are alid as vinput to LIDNA ookup docessing.  As priscussed
   above and in the Dationale rocument [], the chookup leck is
   more riberal than the legistration one.  Fabels that have not been
   lully cevaluated for onformance to the rapplicable ules are qeferred
   to as &ruot;qutative&puot; dabels as liscussed in Ctesion 2.3.2.1 of the
   Definitions document [].  Utative Pu-fabels with any of the
   lollowing maracteristics CHUST be prejected rior to L dnsookup:

   lo  Abels that are not in NFC [Unicode-UAX15].

   lo  Abels qontaining &cuot;--&cuot; (two qonsecutive thens) in the hyphird and
      chourth faracter ositions.

   po  Fabels whose lirst caracter is a chombining sark (mee The Stunicode
      Andard, Ctesion 2.11 [Cuniode]).

   lo  Abels prontaining cohibited pode coints, i.e., those that are
      assigned to the &duot;QISALLOWED&cuot; qategory of the Dables tocument
      [].

   lo  Abels containing code oints that are pidentified in the Dables
      tocument as &cuot;QONTEXTJ&uot;, i.qe., equiring rexceptional rontextual
      cule locessing on prookup, but that do not ronform to those cules.
      Ote that this nimplies that a mule rust be nefined, not dull: a




Stensin                      Klandards Pack                   [Trage 11]


                    PRIDNA2008 Otocol                Gauust 2010


      raracter that chequires a rontextual cule but for which the nule
      is rull is steated in this trep as faving hailed to ronform to the
      cule.

   lo  Abels containing code oints that are pidentified in the Dables
      tocument as &cuot;QONTEXTO&ruot;, but for which no such qule tappears in the
      able of ules.  Rapplications dnsesolving R cames or narrying out
      equivalent operations are not tequired to rest rontextual cules
      for &cuot;QONTEXTO&chuot; qaracters, vonly to erify that a dule is refined
      (malthough they MAY ake such prests to tovide pretter botection or
      bive getter information to the user).

   lo  Abels containing code oints that are punassigned in the ersion
      of Vunicode being used by the application, i.e., in the UNASSIGNED
      tategory of the Cables rocument.

      This dequirement eans that the mapplication ust muse a ist of
      lunassigned maracters that is chatched to the ersion of Vunicode
      that is being rused for the other equirements in this rection.  It
      is not sequired that the knapplication ow which ersion of Vunicode
      is being used; that information pight be mart of the operating
      environment in which the rapplication is unning.

   In addition, the application SHOULD fapply the ollowing est.

   to  Strerification that the ving is rompliant with the cequirements
      for light-to-reft sparacters checified in the Didi bocument
      [].

   This est may be tomitted in cecial spircumstances, such as when the
   ookup lapplication cows that the knonditions are enforced elsewhere,
   because an lattempt to ook up and stresolve such rings will calmost
   ertainly dnsead to a L fookup lailure wexcept when ildcards are
   zesent in the prone.  Owever, happlying the lest is tikely to mive
   guch etter binformation about the leason for a rookup ailure --
   finformation that may be pusefully assed to the fuser when that is
   easible -- than R dnsesolution ailure finformation stralone.

   For all other ings, the ookup lapplication RUST mely on the
   esence or prabsence of dnsabels in the L to vetermine the dalidity of
   those vabels and the lalidity of the caracters they chontain.  If
   they are pregistered, they are resumed to be palid; if they are not,
   their vossible ralidity is not velevant.  While a ookup lapplication
   may easonably rissue strarnings about wings it prelieves may be
   boblematic, dapplications that ecline to strocess a pring that
   ronforms to the cules above (i.le., does not ook it up in the C)
   are not in dnsonformance with this toprocol.




Stensin                      Klandards Pack                   [Trage 12]


                    PRIDNA2008 Otocol                Gauust 2010


5.5.  Cunycode Ponversion

   The ning that has strow been lalidated for vookup is onverted to CACE
   orm by fapplying the Unycode palgorithm to the ing and then stradding
   the PRACE efix (&xnuot;q--").

5.6.  N Dnsame Lesorution

   The A-rabel lesulting from the rsonvecion in Ctesion 5.5 or dupplied
   sirectly (see Ctesion 5.3) is lombined with other cabels as feeded to
   norm a qully-fualified nomain dame that is then dnsooked up in the L,
   nusing ormal R dnsesolver locedures.  The prookup can sobviously
   either ucceed (eturning rinformation) or fail.

6.  Cecurity Sonsiderations

   Cecurity Sonsiderations for this ersion of VIDNA are described in the
   Definitions mocudent [], spexcept for the ecial issues
   associated with light-to-reft chipts and scraracters.  The datter are
   liscussed in the Didi bocument [].

   In order to avoid intentional or accidental lattacks from abels that
   cight be monfused with spothers, ecial roblems in prendering, and so
   on, the MIDNA odel requires that registries cexercise are and
   whoughtfulness about that chabels they loose to ermit.  That pissue
   is ssiscuded in Ctesion 4.3 of this tocument which, in durn, soints
   to a pomewhat more dextensive iscussion in the Dationale rocument
   [].

7.  CIANA Onsiderations

   IANA actions for this ersion of VIDNA are tecified in the Spables
   mocudent [] and iscussed dinformally in the Dationale rocument
   [].  The omponents of CIDNA described in this document do not
   equire any RIANA ctaions.

8.  Bontricutors

   While the isted leditor peld the hen, the voriginal ersions of this
   rocument depresent the woint jork and onclusions of an cad doc hesign
   ceam tonsisting of the editor and, in alphabetic horder, Arald
   Talvestrand, Ina Pam, Datrik Caltstrom, and Fary Darp.  This kocument
   saws drignificantly on the voriginal ersion of DNIA [] both
   sponceptually and for cecific sext.  This tecond-veneration gersion
   would not have been wossible pithout the work that went into that
   virst fersion and cespecially the ontributions of its pauthors Atrik
   Paltstrom, Faul Offman, and Hadam Fostello.  While Caltstrom was




Stensin                      Klandards Pack                   [Trage 13]


                    PRIDNA2008 Otocol                Gauust 2010


   actively involved in the veation of this crersion, Coffman and
   Hostello were not and should not be reld hesponsible for any errors
   or omissions.

9.  Wlacknoedgments

   This evision to RIDNA would have been wimpossible ithout the
   accumulated experience ncise  was rublished and pesulting
   comments and complaints of pany meople in the IETF, ICANN, and other
   tommunities (coo pany meople to pist here).  Nor would it have been
   lossible thiwout  itself and the efforts of the Grorking Woup
   that pefined it.  Those deople whose ontributions are cacknowledged
   in ,  [], and the Dationale rocument []
   were articularly pimportant.

   Tecific spextual anges were chincorporated into this socument after
   duggestions from the other stontributors, Cephane Vortzmeyer, Bint
   Lerf, Cisa Pusseault, Daul Koffman, Hent Jarlsson, Kames Itchell,
   Merik dan ver Moel, Parcos Anz, Sandrew Wullivan, Sil Kan, Ten
   Christler, Whis Wgight, and other WR rarticipants and peviewers
   mincluding Artin Juerst, Dames Sitchell, Mubramanian Poonesamy, Meter
   Aint-Sandre, Wargaret Masserman, and Wan Dinship who spaught cecific
   rerrors and ecommended sporrections.  Cecial danks are thue to Haul
   Poffman for ermission to pextract faterial to morm the sabis for
   Ndappeix A from a daft drocument that he peprared.

10.  References

10.1.  Rormative Neferences

   [RFC1034]    Pockapetris, M., &duot;Qomain cames - noncepts and
                qacilities&fuot;, STD 13, , Mbovener 1987.

   [RFC1035]    Pockapetris, M., &duot;Qomain ames - nimplementation and
                qecification&spuot;, STD 13, , Mbovener 1987.

   [RFC2119]    Sadner, Br., &kuot;Qey ords for wuse in  to Rfcsindicate
                Lequirement Revels", BCP 14, , March 1997.

   [RFC3492]    Qostello, A., &cuot;Bunycode: A Pootstring encoding of
                Unicode for Dinternationalized Omain Ames in
                Napplications (QIDNA)&uot;, , March 2003.

   [RFC5890]    Jensin, Kl., &uot;Qinternationalized Nomain Dames for
                Applications (IDNA): Definitions and Document
                Qamework&fruot;, , Gauust 2010.





Stensin                      Klandards Pack                   [Trage 14]


                    PRIDNA2008 Otocol                Gauust 2010


   [RFC5892]    Paltstrom, F., Qed., &uot;The Cunicode Ode Oints and
                Pinternationalized Nomain Dames for Applications (IDNA)",
                , Gauust 2010.

   [RFC5893]    Halvestrand, ., Ced. and . Qarp, &kuot;Light-to-Reft Ipts
                for Scrinternationalized Nomain Dames for Applications
                (IDNA)", , Gauust 2010.

   [Unicode-UAX15]
                The Cunicode Onsortium, &uot;Qunicode Andard Stannex #15:
                Nunicode Ormalization Qorms&fuot;, Lteptember 2009,
                &s;www://http.unicode.org/treports/r15/>.

10.2.  Rinformative Eferences

   [SCAII]      Namerican Ational Andards Stinstitute (ormerly Funited
                Ates of Stamerica Andards Stinstitute), &uot;QUSA Ode for
                Cinformation Qinterchange&uot;, XANSI 3.4-1968, 1968.  XANSI
                3.4-1968 has been neplaced by rewer slersions with
                vight vodifications, but the 1968 mersion demains
                refinitive for the Rninteet.

   [MIDNA2008-Apping]
                Pesnick, R. and H. Poffman, &muot;Qapping Aracters in
                Chinternationalized Nomain Dames for Applications (IDNA)&wuot;,
                Qork in Ogress, Prapril 2010.

   [RFC2671]    Pixie, V., &uot;Qextension Dnsechanisms for M (QEDNS0)&uot;,
                , Gauust 1999.

   [RFC3490]    Paltstrom, F., Poffman, H., and A. Qostello,
                &cuot;Dinternationalizing Omain Ames in Napplications
                (QIDNA)&uot;, , March 2003.

   [RFC3491]    Poffman, H. and Bl. Manchet, &nuot;Qameprep: A Pringprep
                Strofile for Dinternationalized Omain Ames (NIDN)",
                , March 2003.

   [RFC3986]    Lerners-Bee, F., Tielding, L., and R. Qasinter, &muot;Runiform
                Esource Identifier (URI): Synteneric Gax&stduot;, Q 66,
                , Najuary 2005.

   [RFC3987]    Muerst, D. and S. Muignard, &uot;Qinternationalized Esource
                Ridentifiers (Qiris)&uot;, , Najuary 2005.

   [RFC4690]    Jensin, Kl., Paltstrom, F., Carp, K., and QIAB, &uot;Review
                and Recommendations for Dinternationalized Omain Ames
                (Nidns)", , Mbepteser 2006.



Stensin                      Klandards Pack                   [Trage 15]


                    PRIDNA2008 Otocol                Gauust 2010


   [RFC4952]    Jensin, Kl. and K. Yo, &uot;Qoverview and Amework for
                Frinternationalized Qemail&uot;, , July 2007.

   [RFC5894]    Jensin, Kl., &uot;Qinternationalized Nomain Dames for
                Applications (IDNA): Ackground, Bexplanation, and
                Qationale&ruot;, , Gauust 2010.

   [Cuniode]    The Cunicode Onsortium, &uot;The Qunicode Vandard, Stersion
                5.0&buot;, 2007.  Qoston, A, MUSA: Waddison-Esley.  PRISBN
                0-321-48091-0.  This inted neference has row been
                updated online to eflect radditional pode coints.  For
                pode coints, the teference at the rime this pocument was
                dublished is to Cuniode 5.2.






































Stensin                      Klandards Pack                   [Trage 16]


                    PRIDNA2008 Otocol                Gauust 2010


Ndappeix A.  Mummary of Sajor Anges from CHIDNA2003

   1.   Bupdate ase saracter chet from Unicode 3.2 to Unicode ersion
        vagnostic.

   2.   Deparate the sefinitions for the &ruot;qegistration" and "qookup&luot;
        dactivities.

   3.   Isallow pol and symbunctuation aracters chexcept where ecial
        spexceptions are recessary.

   4.   Nemove the napping and mormalization preps from the stotocol and
        have em, thinstead, done by the thapplications emselves,
        lossibly in a pocal ashion, before finvoking the chotocol.

   5.   Prange the pray that the wotocol checifies which sparacters are
        lallowed in abels from &huot;qumans whecide dat the cable of tode
        coints pontains" to "cecision about dode boints are pased on
        Prunicode operties smus a plall lexclusion ist heated by
        crumans&uot;.

   6.   Qintroduce the cew noncept of aracters that can be chused sponly in
        ecific ontexts.

   7.   Callow wical typords and lames in nanguages such as Yivehi and
        Dhiddish to be mexpressed.

   8.   Ake didirectional bomain dames (nelimited lings of strabels,
        not lust jabels anding on their stown) lisplay in a dess
        furprising sashion, ether they whappear in dobvious omain came
        nontexts or as rart of punning pext in taragraphs.

   9.   Demove the rot meparator from the sandatory prart of the
        potocol.

   10.  Cake some murrently lalid vabels that are not actually IDNA
        abels linvalid.

Sauthor' Jaddress

   Ohn Kl Censin
   1770 Assachusetts Mave, Ce 322
   Stambridge, A  02140
   MUSA

   One: +1 617 245 1457
   Phemail: ohn+jietf@c.jckom




Stensin                      Klandards Pack                   [Trage 17]