Get Hostname from IP Address

Handian Sudianto 5,666 Reputation points
2025-01-31T01:45:19.4433333+00:00

Hello,

Can we lookup hostname if we know the ip address but looking in forward lookup zones?

I try use command ping -a 10.10.10.10, Resolve-DnsName -Name 10.10.10.10, [System.Net.Dns]::GetHostEntry(10.10.10.10).HostName but all commands will looking on reverse lookup zone.

The problem is not all ip have the reverse domain.

Azure DNS
Azure DNS
An Azure service that enables hosting Domain Name System (DNS) domains in Azure.
721 questions
Azure Virtual Network
Azure Virtual Network
An Azure networking service that is used to provision private networks and optionally to connect to on-premises datacenters.
2,612 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.