#Azure Private and Public DNS name mapping

1 messages · Page 1 of 1 (latest)

wary raptor
crude yew
#

what are you tring to do?

wary raptor
#

I am trying to create a file, json e.g. which contains all the Azure Private DNS resource names with their corresponding Public names. E.g.

{
"privatelink.openai.azure.com": "openai.azure.com",
"privatelink.mysql.database.azure.com": "mysql.database.azure.com",
"privatelink.grafana.azure.com": "grafana.azure.com",
....
}

As per the data displayed at:

https://learn.microsoft.com/en-us/azure/private-link/private-endpoint-dns

Learn about the private DNS zone values for Azure services that support private endpoints.

#

I've tried to use the beautifulsoup python module to scrape the data, but it's not very robust as the site format can and will change.

crude yew
#

why? becasue everything cname's to the private address as required?

#

are you just looking for a list of all private zone names?

#

just parse that - or look at the source in github

#

and get it from there

wary raptor
#

Yes... I do need to do the CNAME association for on premise servers.
That latter URL looks great! Thanks.