How do I resolve ipv6 to hostname

Hi experts,

I have a couple of hosts on our network that are pingable using their ipv6 address and I want to find out what either their hostnames or IPv4 address is so I can track them down.

Is there a command Iine I can run to find this out?

We are running a Windows bases platform.

Thank you for your help in advance.
Who is Participating?

Improve company productivity with a Business Account.Sign Up

JamesConnect With a Mentor Senior Cloud Infrastructure EngineerCommented:
Try ping hostname -4 and see if this works. This will give you the IPv4 address.


Sc0tAuthor Commented:
When I try and ping hostname -4 the following message is displayed:

Ping request could not find host  <ip6 address>. Please check the name and try again.

I am able to ping the address successfully if I remove the -4 at the end of the command.
Perform an nslookup on the host from the command prompt.
If there are v4 and v6 entries, it'll show up there.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.