首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Bind9 -“标签太长”

Bind9 -“标签太长”
EN

Stack Overflow用户
提问于 2014-05-15 14:04:46
回答 1查看 3.4K关注 0票数 2

是否有任何方法可以增加pri.example.com文件中子域(A记录)的长度,以便Bind9可以加载一个长子域,而无需显示“标签太长”,例如:

代码语言:javascript
复制
this-is-a-subdomain-number-one   $ATTL IN A XXX.XXX.XXX.XXX
this-is-a-subdomain-number-two   $ATTL IN A XXX.XXX.XXX.XXX
this-is-a-subdomain-number-three-that-one-of-my-clients-wish-to-use-for-his-website-but-bind9-upon-loading-is-displaying-label-to-long-error   $ATTL IN A XXX.XXX.XXX.XXX
this-is-a-subdomain-number-four   $ATTL IN A XXX.XXX.XXX.XXX

this-is-a-subdomain-number-one.example.comthis-is-a-subdomain-number-two.example.comthis-is-a-subdomain-number-four.com工作正常,但bind9不能加载this-is-a-subdomain-number-three-that-one-of-my-clients-wish-to-use-for-his-website-but-bind9-upon-loading-is-displaying-label-to-long-error.example.com

有什么想法吗?

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2014-05-15 14:06:41

从‘百科’

Each label may contain up to 63 characters. The full domain name may not exceed the length of 253 characters in its textual representation. In the internal binary representation of the DNS the maximum length requires 255 octets of storage, since it also stores the length of the name.

票数 2
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/23680606

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档