I try to utilize Azure Resource Graph to get all records from Public DNS zones, but I query dnsresources- oder resources- table its only containing private dns zones. Does anybody have an idea which table to query to get the records?
I only got this query to get all public dns zones but there are no records whether as properties nor as dedictated resource type.
resources
| where ['type'] == "microsoft.network/dnszones"
To query the
Public DNSzone records using resource graph, you can use the below query.Response:
Alternatively, you can also use
PowerShellto check the records in thePublic DNSzone.Output: