[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 209
  • Last Modified:

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.
0
Sc0t
Asked:
Sc0t
1 Solution
 
JBond2010Commented:
Try ping hostname -4 and see if this works. This will give you the IPv4 address.


Regards,

JBond2010
0
 
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.
0
 
rharland2009Commented:
Perform an nslookup on the host from the command prompt.
If there are v4 and v6 entries, it'll show up there.
0

Featured Post

[Webinar] Kill tickets & tabs using PowerShell

Are you tired of cycling through the same browser tabs everyday to close the same repetitive tickets? In this webinar JumpCloud will show how you can leverage RESTful APIs to build your own PowerShell modules to kill tickets & tabs using the PowerShell command Invoke-RestMethod.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now