Because Linux (more precisely, some of its components, such as libresolv or even ping itself) is an honor to the RFC. Underscores are not allowed in host names, and the host name is what you look up when using ping. (Underscores are permitted in other types of DNS records, such as SRV records, TXT records, such as those used for DKIM ...)
. RFC 1123, 2.1, RFC 952. :
- (-) "_" ?
Domainkey - DNS
Quora - DNS?
. , Linux ping a_a.github.com
. (CentOS 7 ):
ping: unknown host _.github.com
ping: unknown host a_.github.com
ping: unknown host _a.github.com
$ ping a_a.github.com
PING github.map.fastly.net (23.235.40.133) 56(84) bytes of data.
64 bytes from 23.235.40.133: icmp_seq=1 ttl=59 time=29.7 ms
, , ping Linux , , (, , ) .