4级域名末尾有下划​​线的站点无法访问

Site with underscore at the end of 4th level domain name can't be reached

我们公司有开发服务器。自 2006 年以来,我们就有了这条规则——如果项目完成并移至生产环境,我们必须在文件系统中的项目名称后添加下划线。所以 url 是从

projectname.devel.domain.tld

projectname_.devel.domain.tdl

我是 2008 年以来的 linux 用户,但我一直无法打开此网站。它无法到达。我知道这在 windows 中有效,但为什么在 linux 中无效?是DNS的问题吗?我使用 DNSmasq 仅 4 年,对这些项目域的行为没有任何改变。

Traceroute 到常规项目名称

    $ traceroute projectname.devel.domain.tld
    traceroute to projectname.devel.domain.tld (x.x.x.x), 30 hops max, 60 byte packets
     1  gateway (192.168.1.1)  1.815 ms  1.801 ms  1.798 ms
     2  ttxf1.ttx-net.sk (x.x.x.x)  3.823 ms  3.792 ms  3.742 ms
     3  ttx00.ttx-net.sk (193.110.186.1)  4.441 ms  3.774 ms  4.432 ms
     4  10.100.101.158 (10.100.101.158)  15.013 ms  15.026 ms  15.017 ms
     5  10.100.109.29 (10.100.109.29)  14.995 ms  15.003 ms  14.978 ms
     6  10.100.103.9 (10.100.103.9)  15.634 ms  11.021 ms  10.978 ms
     7  10.100.100.1 (10.100.100.1)  10.896 ms  5.784 ms  5.646 ms
     8  * * *
     9  * * *
...
    28  * * *
    29  * * *
    30  * * *

跟踪到带下划线的项目名称

$ traceroute projectname_.devel.domain.tld
projectname_.devel.domain.tld: Name or service not known
Cannot handle "host" cmdline arg `projectname_.devel.domain.tld' on position 1 (argc 1)

有线索吗? 谢谢

Because it is not compliant with the RFCs to have an underscore at the beginning or ending of a public hostname.Linux坚持这个,Windows不坚持。