Why are underscores not allowed in host names or domain name?

我们在安装VC(VMware vCenter Server)的时候请勿将主机名中含有“_”符号,这将会导致web client无法注册到invetory当中。
Cause,
If the vCenter Server host name contains an underscore, it is considered an invalid host name and that vCenter Server does not appear in the vSphere Web Client.
Resolution
To resolve this issue, change the host name of the vCenter Server so that it does not contain any underscores.

For example:

If the host name is VCENTER_PROD, rename it to VCENTERPROD or another name without an underscore

Underscore in host name or domain name is not allowed.
Why are underscores not allowed in host names or domain name?
Because we (the Internet Engineering Task Force, standards body of The Internet) defined it that way.
There is a lot of ancient History of the Internet bound up in this question:

  • software precedent (what the software of the day would accept),
  • simplification to avoid confusion (it’s very easy to confuse dash and underscore)
  • personal preference of the standards author (accepted by the community without objection).

Why are underscores not allowed in host names or domain name?


互联网工程任务组-Internet Engineering Task Force (IETF),成立于1985年底,是全球互联网最具权威的技术标准化组织,主要任务是负责互联网相关技术规范的研发和制定,当前绝大多数国际互联网技术标准出自IETF。


Why are underscores not allowed in host names or domain name?如Python中的带下划线的命名会被当成变量。

Kim C. Jin

Kim C. Jin

Hello, my name is Kim, from Shuren University. I can speak English, Chinese of course, and Japanese. 私は 超超 と申します、25歳の会社員 です。趣味は運転することと山登りです。一番好きな言葉は一期一会。よろしくお願いします。

您可能还喜欢...

发表评论

电子邮件地址不会被公开。