reasonable length of FQDN

Stefan Puiu stefan.puiu at gmail.com
Wed Feb 1 08:14:15 UTC 2006


Mark, isn't that the maximum length of the wire representation of a
domain name? arpa/nameser.h in libbind defines NS_MAXDNAME to be 1025,
with the comment 'maximum domain name', while NS_MAXCDNAME is defined
as 255 with the comment 'maximum compressed domain name'. I've always
wondered where the 1025 came from.

Also, there's an older post on this list that mentions 1004 as the
limit, quoting RFC1035 as the source (however, the number is not
explicitly mentioned in that document):

http://groups.google.com/group/comp.protocols.dns.bind/browse_thread/thread/636e8bba1ec6ca0d/c663e6f4b63f95d7?q=FQDN+length&rnum=3#c663e6f4b63f95d7

On 2/1/06, Mark Andrews <Mark_Andrews at isc.org> wrote:
> From RFC 1035:
>
> To simplify implementations, the total number of octets that represent a
> domain name (i.e., the sum of all label octets and label lengths) is
> limited to 255.
>
>
> > TIA~
> >
> > --
> > Roman
> >
> >
> --
> Mark Andrews, ISC
> 1 Seymour St., Dundas Valley, NSW 2117, Australia
> PHONE: +61 2 9871 4742                 INTERNET: Mark_Andrews at isc.org
>
>
>



More information about the bind-users mailing list