Sorry for throwing out this question, but I just can't quite understand why my computer cannot resolve computer names, even though I set them in the hosts file. I am setting up a monitoring tools on a server, to perform different kinds of tests (ping, url check, crc, memory available ...etc) on selected servers. Along those tests, I make the monitoring machine to test other servers by using computer name. I made a list of computer names along with their IPs in the C:\windows\system32\drivers\etc\hosts table, But for some reasons, some Windows computers can be ping by using computer name. But for linux machines, URLs (eg. ns1.yahoo.com), windows machines on the other geograpic location could not be resolved.
As I understand (please correct me if I am wrong), when I send a command like "Ping Server1", it will try to lookup the name "server1" by hosts table, then if that doesnt' resolve, it'll check the DNS... is there any other that would take precedence of the hosts table?
any thing that I might did wrong? thanks.