[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 208
  • 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

Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

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