what is max size of unbound local-zone domain name
Arthur Chance
freebsd at qeng-ho.org
Wed Sep 13 13:20:34 UTC 2017
On 13/09/2017 14:14, Ernie Luzar wrote:
> Hello list;
>
> unbound has option to read in a file containing local-zone: records of
> this format.
>
> local-zone: domain-name static
>
> What is the max domain-name size?
>
> Is 130 positions to large?
>From RFC 1035
2.3.4. Size limits
Various objects and parameters in the DNS have size limits. They are
listed below. Some could be easily changed, others are more
fundamental.
labels 63 octets or less
names 255 octets or less
I.e. each part of a domain name (label) must be <= 63 bytes, the overall
domain length must be <= 254 bytes. There are also character set
restrictions for domain name components.
--
An amusing coincidence: log2(58) = 5.858 (to 0.0003% accuracy).
More information about the freebsd-questions
mailing list