You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
The Azure Policy Set for "deploy-private-dns-zones" contains a policy definition parameter for DINE-Private-DNS-Azure-EventGridTopics.
Which uses the following logic
However when the parameter 'dnsZoneSubscriptionId' is defined, and we get in the if clause to format the string, it will try and replace '{regionCode}' and/or '{regionName}'.
However the default value of the parameter dnsZoneNames with key 'azureEventGridTopicsPrivateDnsZoneId' is "privatelink.eventgrid.azure.net"
Reference; azureEventGridTopicsPrivateDnsZoneId
According to the Event grid documentations the expected DNS zone should be in the following format; <TopicName>.<RegionName>.privatelink.eventgrid.azure.net
However it also states;
The recommended DNS zone name is privatelink.eventgrid.azure.net.
This means that the logic done per default does not work and will only start creating entries in the dns zone 'privatelink.eventgrid.azure.net'.
This is not a valid CNAME according to documentation as it must always have RegionName appended.
The text was updated successfully, but these errors were encountered:
Describe the bug
The Azure Policy Set for "deploy-private-dns-zones" contains a policy definition parameter for DINE-Private-DNS-Azure-EventGridTopics.
Which uses the following logic
However when the parameter 'dnsZoneSubscriptionId' is defined, and we get in the if clause to format the string, it will try and replace '{regionCode}' and/or '{regionName}'.
However the default value of the parameter dnsZoneNames with key 'azureEventGridTopicsPrivateDnsZoneId' is
"privatelink.eventgrid.azure.net"
Reference; azureEventGridTopicsPrivateDnsZoneId
According to the Event grid documentations the expected DNS zone should be in the following format;
<TopicName>.<RegionName>.privatelink.eventgrid.azure.net
However it also states;
Which makes the initiative go against the recommendation.
Reference; https://learn.microsoft.com/en-us/azure/event-grid/network-security#dns-changes-for-private-endpoints
This means that the logic done per default does not work and will only start creating entries in the dns zone 'privatelink.eventgrid.azure.net'.
This is not a valid CNAME according to documentation as it must always have RegionName appended.
The text was updated successfully, but these errors were encountered: