Mukund Sivaraman <m...@mukund.org> wrote:

> On Wed, Jun 05, 2019 at 12:07:56PM +0100, Tony Finch wrote:
> > The maximum length is 254 including the terminating dot. The maximum
>
> 254 excluding the terminating dot or 255 including the terminating dot.

255 is the wire format limit not the presentation format limit :-)

If you don't have any escaped characters, the presentation format
(including terminating dot) is one shorter than the wire format because
the wire format has a length byte before each label plus a terminator at
the end, whereas the presentation format doesn't have a dot at the start.

With escaping the presentation format of a name can be 1004 characters.
(254 - 4) * 4 + 4

Tony.
-- 
f.anthony.n.finch  <d...@dotat.at>  http://dotat.at/
Trafalgar: West or northwest 4 or 5, increasing 6 at times. Slight at times in
far southeast, otherwise moderate, occasionally rough at first in north.
Showers in north. Good.
_______________________________________________
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users

Reply via email to