[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: DNS ting (fwd)



Aleksi Suhonen wrote:
> 
> Quote From: =?ISO-8859-1?Q?Robert_Martin-Leg=E8ne?=
> Message ID: Pine.BSF.4.00.9810122234210.22947-100000@xxxxxxxxxxxx
> 
> } I still would like to have HOSTLEN raised from 63 to 255.. is the limit
> } imposed to save bandwidth? Because it hasn't really got much to do with
> } the RFC's.
> 
> } A token's length is set to max 63 chars. A token is what's between two
> } dots. A FQDN is set to max 255 chars.
> 
> If you change HOSTLEN, you immediately risk breaking the protocol.
> 
> The RFC doesn't specifically say, why there is a maximum of mode
> changes per message, but it is very closely intertwined with a
> few selected #defines. HOSTLEN is one of them.
> 
> (Although ... if you take care to make the calculations, you see
> that the maximum of mode changes per message should be 2 to make
> it safe, not 3.)
> 

To quote rfc1123:

      Host software MUST handle host names of up to 63 characters and
      SHOULD handle host names of up to 255 characters.

btw: This was on bugtraq...
see: http://geek-girl.com/bugtraq/1998_3/0025.html


Q