Link to home
Start Free TrialLog in
Avatar of sidharthBhargava
sidharthBhargava

asked on

Linux 5 machine .not able to ping it by its hostname

Not able to ping linux machine(RHEL 5) by its hostname. Its pinging by its IP.
Avatar of Tintin
Tintin

What machine are you pinging from?

Is the hostname in DNS?
Avatar of sidharthBhargava

ASKER

I am pinging it  from a windows machine. I didnt understand ur second question please explain
To be able to ping the hostname, it either has to be defined in DNS (Domain Name Service) or have a local hosts entry.

Is this a public host or on a local LAN/Intranet?
@ Tintin is right, you need to setup a dns server to ping Internal pc as hosname.

Either you can make linux SErver as Dns server and put all internal pc hostname  in zone file

or make any windows Server as Dns server.

have a look bellow one, for bind setup in linux [ check the zone file]

http://www.centos.org/docs/2/rhl-rg-en-7.2/s1-bind-configuration.html


ASKER CERTIFIED SOLUTION
Avatar of Michael Eager
Michael Eager
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial