forked from TrueCloudLab/frostfs-contract
[#238] nns: Fix maxDomainNameFragmentLength
maxDomainNameFragmentLength means maximum length of label of domain name A label may contain zero to 63 characters. The null label, of length zero, is reserved for the root zone. The full domain name may not exceed the length of 253 characters in its textual representation Signed-off-by: Angira Kekteeva <kira@nspcc.ru>
This commit is contained in:
parent
4a0f0d7408
commit
0aa7fd4189
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ const (
|
||||||
// maxRootLength is the maximum domain root length.
|
// maxRootLength is the maximum domain root length.
|
||||||
maxRootLength = 16
|
maxRootLength = 16
|
||||||
// maxDomainNameFragmentLength is the maximum length of the domain name fragment.
|
// maxDomainNameFragmentLength is the maximum length of the domain name fragment.
|
||||||
maxDomainNameFragmentLength = 62
|
maxDomainNameFragmentLength = 63
|
||||||
// minDomainNameLength is minimum domain length.
|
// minDomainNameLength is minimum domain length.
|
||||||
minDomainNameLength = 3
|
minDomainNameLength = 3
|
||||||
// maxDomainNameLength is maximum domain length.
|
// maxDomainNameLength is maximum domain length.
|
||||||
|
|
Loading…
Reference in a new issue