On my local machine (Ubuntu) if I were to ping a hostname that is non-existent, the ping command returns
$ ping somefakedomain.com.au ping: unknown host somefakedomain.com.au
However the same command on either of my remote centOS servers returns totally different results
$ ping somefakedomain.com.au PING texh.net (184.108.40.206) 56(84) bytes of data. 64 bytes from toph.texh.net (220.127.116.11): icmp_seq=1 ttl=64 time=0.046 ms ...
This really has me stumped, I'd love if anyone has any ideas as to why this is. I've tried Googling for it, but all I seem to be able to find is the opposite problem where people are unable to ping valid hosts due to various networking issues.
What I plan to do with this is set up a cron job to ping several servers to check that they're still online, and to gauge network latency between the two, however it seems that if one of the servers pinged was down, then it would simply ping itself and return false positives.