FloFaber.com Quick Fixes

MS DNS: How to find DNS-Records by IP

In case you don't have a reverse lookup zone or it's not maintained properly:

Powershell:

Get-DnsServerResourceRecord -ZoneName "ZONE-HERE" -RRType "A" | select HostName,RecordType,Timestamp,TimeToLive,@{Name='RecordData';Expression={$_.RecordData.IPv4Address.ToString()}} | Where {$_.RecordData -match "IP-HERE"}
  • Make sure to replace ZONE-HERE with your zone name and IP-HERE with the IP address you are searching for.

Output:

HostName   : hostname
RecordType : A
Timestamp  :
TimeToLive : 01:00:00
RecordData : 192.168.0.1

HostName   : hostname2
RecordType : A
Timestamp  :
TimeToLive : 01:00:00
RecordData : 192.168.0.1