Link to home
Start Free TrialLog in
Avatar of Los Angeles1
Los Angeles1

asked on

Linux, Ping and hostname

If I ping an IP, it will return the IP

If I ping a hostname, it will return the IP

Is there a command to ping (or something like that) an IP, and have the hostname that corresponds to that IP be returned ?

Thanks
ASKER CERTIFIED SOLUTION
Avatar of woolmilkporc
woolmilkporc
Flag of Germany 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
Did you try dig (or dig -x)?