Tagged Questions
6
votes
1answer
222 views
Why the difference between network addresses reported by hostname and ping?
I have tried hostname and ping in a cluster machine, with different outputs. I am wondering what is the difference between the two? For example, on the same machine, hostname outputs node4.XXX and
...
5
votes
3answers
4k views
How does traceroute resolve names?
While writing a script, I wanted to reference a machine by the computer name that I gave it (e.g. "selenium-rc"). I could not ping it using "selenium-rc", so I tried the following commands to see if ...
1
vote
2answers
2k views
What is a valid hostname label?
I set up my hostname to a number, where running hostname gives:
6592
But when I run ping 6592, I get:
connect: Invalid argument
I checked the related Wikipedia page, and it does say that such a ...