DNS 952子域公约是什么

发布于 2025-02-01 11:17:35 字数 63 浏览 2 评论 0原文

我的OpenShift配置遇到了一个错误,说我的路线必须符合DNS 952子域约定。

这些是什么?

Ran into an error with my Openshift configuration saying my route must conform to the DNS 952 subdomain conventions.

What are they?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

套路撩心 2025-02-08 11:17:35

RFC 952 is simply at https://datatracker.ietf.org/doc/html/rfc952 but itself later revised by other RFCs.

The recent DNS Terminology RFC (8499) gives you the definition and links you need, have a look at https://datatracker.ietf.org/doc/html/rfc8499#section-2

離殇 2025-02-08 11:17:35

根据微软关于命名约定

对于DNS主机名称:

dns名称只能包含字母顺序的字符(AZ),数字字符(0-9),减号( - )和周期(。)。只有在使用域名名称的组件时,才允许使用周期字符。

不允许的字符是:

dns主机名不能包含以下字符:
逗号(,),
蒂尔德(〜),
冒号 (:),
感叹点(!),
在标志(@),
数字符号(#),
美元标志($),
百分比(%),,
商业(^),
Ampersand(&),
撇号('),
时期 (。),
括号(()),
括号({}),
下划线(_)和
空白(空白)

因此,如果您使用模板配置OpenShift。

According to Microsoft's article about naming conventions

For DNS host names:

DNS names can contain only alphabetical characters (A-Z), numeric characters (0-9), the minus sign (-), and the period (.). Period characters are allowed only when they are used to delimit the components of domain style names.

and the disallowed characters are:

DNS host names can't contain the following characters:
comma (,),
tilde (~),
colon (:),
exclamation point (!),
at sign (@),
number sign (#),
dollar sign ($),
percent (%),
caret (^),
ampersand (&),
apostrophe ('),
period (.),
parentheses (()),
braces ({}),
underscore (_), and
white space (blank)

So if you configure Openshift using a template.yml be sure to not have any extra braces (from parameters), or use any of the other illegal characters.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文