Re: Quelle est la longueur maximale d'un nom de domaine ?

L-C FABRE <[email protected]> Fri, 24 May 2024 10:29:06 +0200
Newsgroups gmane.network.dns.french
Message-ID <[email protected]>
--Apple-Mail-ED934C1F-0743-4B0B-BDAC-CEB07F5C5D05
Content-Type: text/html;
	charset=utf-8
Content-Transfer-Encoding: quoted-printable

<html><head><meta http-equiv=3D"content-type" content=3D"text/html; charset=3D=
utf-8"></head><body dir=3D"auto">Hello,<div><br></div><div>Perso j=E2=80=99i=
rai voir le code de Bind pour v=C3=A9rifier.&nbsp;</div><div>Il y a une fonc=
tion qui v=C3=A9rifier la validit=C3=A9 syntaxique.&nbsp;</div><div>M=C3=AAm=
e si ce n=E2=80=99est pas la RFC, c=E2=80=99est un gros pourcentage de la vr=
ai vie =F0=9F=98=9C</div><div><br id=3D"lineBreakAtBeginningOfSignature"><di=
v dir=3D"ltr"><span style=3D"background-color: rgba(255, 255, 255, 0);">Laur=
ent Fabre<br>Envoy=C3=A9 de mon t=C3=A9l=C3=A9phone</span></div><div dir=3D"=
ltr"><br><blockquote type=3D"cite">Le 24 mai 2024 =C3=A0 07:28, Christophe M=
eessen &lt;[email protected]&gt; a =C3=A9crit&nbsp;:<br><br></blockquot=
e></div><blockquote type=3D"cite"><div dir=3D"ltr">=EF=BB=BF<meta http-equiv=
=3D"content-type" content=3D"text/html; charset=3Dutf-8"><div>Bonjour,</div>=
<div><br></div><div>J'ai =C3=A9crit en Go une fonction qui v=C3=A9rifie la v=
alidit=C3=A9 d'un nom de domaine.&nbsp;</div><div>Comme sp=C3=A9cifi=C3=A9 d=
ans le RFC 1035 et dans le RFC 5321, la longueur maximale est 255.&nbsp;</di=
v><div><br></div><div>La courte discussion est ici:&nbsp;<a href=3D"https://=
github.com/chmike/domain/issues/1">https://github.com/chmike/domain/issues/1=
</a></div><div><br></div><div>Je suis tent=C3=A9 de garder la limite sup=C3=A9=
rieure =C3=A0 255 comme indiqu=C3=A9 dans les RFC.&nbsp;</div><div><br></div=
><div>L'utilisateur me renvoie ensuite la r=C3=A9f=C3=A9rence suivante qui j=
ustifie une limite maximale de du nom de domaine en caract=C3=A8res serait d=
e 253:</div><div><br></div><div><div style=3D"display: block;" class=3D""><d=
iv style=3D"-webkit-user-select: all; -webkit-user-drag: element; display: i=
nline-block;" class=3D"apple-rich-link" draggable=3D"true" role=3D"link" dat=
a-url=3D"https://www.directedignorance.com/blog/maximum-length-of-domain-nam=
e"><a style=3D"border-radius:10px;font-family:-apple-system, Helvetica, Aria=
l, sans-serif;display:block;-webkit-user-select:none;width:300px;user-select=
:none;-webkit-user-modify:read-only;user-modify:read-only;overflow:hidden;te=
xt-decoration:none;" class=3D"lp-rich-link" rel=3D"nofollow" href=3D"https:/=
/www.directedignorance.com/blog/maximum-length-of-domain-name" dir=3D"ltr" r=
ole=3D"button" draggable=3D"false" width=3D"300"><table style=3D"table-layou=
t:fixed;border-collapse:collapse;width:300px;background-color:#E9E9EB;font-f=
amily:-apple-system, Helvetica, Arial, sans-serif;" class=3D"lp-rich-link-em=
ailBaseTable" cellpadding=3D"0" cellspacing=3D"0" border=3D"0" width=3D"300"=
><tbody><tr><td vertical-align=3D"center"><table bgcolor=3D"#E9E9EB" cellpad=
ding=3D"0" cellspacing=3D"0" width=3D"300" style=3D"font-family:-apple-syste=
m, Helvetica, Arial, sans-serif;table-layout:fixed;background-color:rgba(233=
, 233, 235, 1);" class=3D"lp-rich-link-captionBar"><tbody><tr><td style=3D"p=
adding:8px 0px 8px 0px;" class=3D"lp-rich-link-captionBar-textStackItem"><di=
v style=3D"max-width:100%;margin:0px 16px 0px 16px;overflow:hidden;" class=3D=
"lp-rich-link-captionBar-textStack"><div style=3D"word-wrap:break-word;font-=
weight:500;font-size:12px;overflow:hidden;text-overflow:ellipsis;text-align:=
left;" class=3D"lp-rich-link-captionBar-textStack-topCaption-leading"><a rel=
=3D"nofollow" href=3D"https://www.directedignorance.com/blog/maximum-length-=
of-domain-name" style=3D"text-decoration: none" draggable=3D"false"><font co=
lor=3D"#000000" style=3D"color: rgba(0, 0, 0, 1);">What Is the Maximum Lengt=
h of a Domain Name?</font></a></div><div style=3D"word-wrap:break-word;font-=
weight:400;font-size:11px;overflow:hidden;text-overflow:ellipsis;text-align:=
left;" class=3D"lp-rich-link-captionBar-textStack-bottomCaption-leading"><a r=
el=3D"nofollow" href=3D"https://www.directedignorance.com/blog/maximum-lengt=
h-of-domain-name" style=3D"text-decoration: none" draggable=3D"false"><font c=
olor=3D"#A2A2A9" style=3D"color: rgba(60, 60, 67, 0.6);">directedignorance.c=
om</font></a></div></div></td><td style=3D"padding:6px 12px 6px 0px;" class=3D=
"lp-rich-link-captionBar-rightIconItem" width=3D"36"><a rel=3D"nofollow" hre=
f=3D"https://www.directedignorance.com/blog/maximum-length-of-domain-name" d=
raggable=3D"false"><div>&lt;favicon.ico&gt;</div></a></td></tr></tbody></tab=
le></td></tr></tbody></table></a></div></div><br></div><div>Qu'en est-il fin=
alement ? Dois-je limiter la longueur =C3=A0 253 ou 255 ?&nbsp;</div><br id=3D=
"lineBreakAtBeginningOfSignature"><div dir=3D"ltr"><div>--</div>Bien cordial=
ement,<div>Ch.Meessen</div></div></div></blockquote></div></body></html>=

--Apple-Mail-ED934C1F-0743-4B0B-BDAC-CEB07F5C5D05--