Is the hostname case sensitive? Is
ping MYHOST
equal to
ping myhost
Does it depend on the DNS used? Are there differences between Win/Mac/Unix systems?
case-sensitivedomain-name-systemhostname
Is the hostname case sensitive? Is
ping MYHOST
equal to
ping myhost
Does it depend on the DNS used? Are there differences between Win/Mac/Unix systems?
Best Answer
Names resolved from DNS are case insensitive. This is important to prevent confusion. If it was case sensitive then we would have eight variants of .com (.com, .Com, .cOm, .COm, .coM, .CoM, .cOM, and .COM). Country codes would have four.
If name resolution is case-sensitive for Ping it is not being done by DNS.