Get Hostname from IP Address

Handian Sudianto
5,731
Reputation points
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.
Sign in to answer