Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Critical: .NET install domains and URLs are changing #9671

Open
richlander opened this issue Dec 24, 2024 · 30 comments
Open

Critical: .NET install domains and URLs are changing #9671

richlander opened this issue Dec 24, 2024 · 30 comments
Assignees

Comments

@richlander
Copy link
Member

richlander commented Dec 24, 2024

.NET binaries and installers have moved to a new domain -- builds.dotnet.microsoft.com -- backed by a new Content Delivery Network (CDN). You may need to make changes to adjust.

Tracking issue: #9674

.NET Team Status:

  • All domains and installer/scripts are functional
  • No domains are using Edgio CDN
  • https://dot.net/v1/dotnet-install.* redirects to new domain

Recommended action:

Last update: 2025.01.10
Next update: 2025.01.15

Context

Some .NET binaries and installers have been hosted on Azure Content Delivery Network (CDN) domains that end in .azureedge.net. These domains are hosted by edg.io, which will soon cease operations due to bankruptcy. We are required to migrate to a new CDN and will be using new domains going forward.

We expectazureedge.net domains to cease to function around 3/31.

.NET Team Remediation

New domains were created:

  • builds.dotnet.microsoft.com for signed official builds
  • ci.dot.net for signed builds

Test links for new CDN:

Test links for old CDN:

The following resources have been updated to use new domains.

Other changes are in progress.

User Remediation

Please make the following replacements:

  • dotnetcli.azureedge.net -> builds.dotnet.microsoft.com
  • dotnetcli.blob.core.windows.net -> builds.dotnet.microsoft.com
  • dotnetbuilds.azureedge.net -> ci.dot.net
  • dotnetbuilds.blob.core.windows.net -> ci.dot.net

All the new domains are path-compatible with old domains, as they share the same origin.

Please also make the following changes:

  • Update local copies of the install script
  • Update setup-dotnet Action references
  • Validate that firewall rules work with the new domains

Install script

The .NET install script is used to install .NET from our CDN. We are changing CDNs (documented in a following section), which requires us to change the install script to use the new CDN.

Updated scripts:

  • https://dot.net/v1/dotnet-install.sh
  • https://dot.net/v1/dotnet-install.ps1
  • https://github.com/dotnet/install-scripts/tree/main/src

Notes:

  • Users who have local copies of these scripts will need to update their copies.
  • Users who rely on the remote copy (at the URLs above) do not need to do anything other than validate no observed change in behavior (due to new domains and CDNs being used).

Tracking PRs:

Official builds

Official builds and JSON files are hosted via a CDN, available for use by the install script and other installers.

Notes:

You can change from old to new domains by changing the domain section of the URL. The other parts of the URL do not need to change.

Example URLs:

A set of short links are available for official builds.

Link pattern:https://aka.ms/dotnet/[x.y]/[package].

Example URLs:

These links produce301 HTTP results that forward to our CDN.

We expect these links to be changed in mid January.

Tracking PR:

CI builds

Continuous integration (CI) builds are hosted via a CDN, available via the install script and GitHub README files.

Note: CI builds include a mix of tested and untested builds, signed and unsigned builds.

Example URLs:

A set of short links are available for CI builds.

Link pattern:https://aka.ms/dotnet/[x.y]/daily/[package].

Example URLs:

These links produce301 HTTP results that forward to our CDN.

We expect these links to be changed in mid January.

Tracking PR:

CI build pages use the CI short links.

Example build pages:

Azure DevOps and GitHub Actions

  • Major versions tags for actions/setup-dotnet have been updated. References to pinned versions will require updating to the most recent version.
  • We expect that GitHub Enterprise Server will be addressed in January.
  • Azure DevOps UseDotnetTask will be updated in January
  • We do not yet have a date for updating Azure DevOps Server.

Other changes

The following resources are also affected.

@richlander richlander self-assigned this Dec 24, 2024
@KalleOlaviNiemitalo
Copy link

Is there a risk that a malicious party later acquires azureedge.net and starts serving malware to systems that still use the old URLs? From WHOIS, it looks like azureedge.net is registered to Microsoft, not to Edgio. (Just wondering how urgent it is to update URLs in old version-control branches that are not actively developed but might get built some day.)

Have there been any NuGet feeds in the domain?

@shanselman
Copy link
Contributor

@KalleOlaviNiemitalo we took it over, so it won’t be taken away.

@zarlo
Copy link

zarlo commented Dec 24, 2024

@KalleOlaviNiemitalo we took it over, so it won’t be taken away.

so why not keep the current urls for like 1-2 more dont net versions so after .net 11 you have to use the new urls this would give people time to update their whitelists

@klemmchr
Copy link

Given this issue I'm wondering when Microsoft will provide their own domain registrar on Azure to prevent such issues in the future. Currently this is the only thing that is really missing on the Azure platform. I can host virtually anything on Azure but when it comes to domains I still need to resort to a third party. I can point all my nameservers to Azure, sure. But the domain itself needs to be hosted somewhere else.

@charles-Graham-Keilman
Copy link

Does this affect the installers in the Azure Devops pipelines? We use a mix of classic and Yaml pipelines.

@klemmchr
Copy link

klemmchr commented Dec 24, 2024

Does this affect the installers in the Azure Devops pipelines? We use a mix of classic and Yaml pipelines.

Yes, it does.

Azure DevOps and GitHub Actions installation tools are dependent on some of these resources. We are working directly with those teams to maintain continuity of service. They are moving to the new domains at best speed.

jmprieur pushed a commit to AzureAD/microsoft-identity-abstractions-for-dotnet that referenced this issue Jan 4, 2025
jennyf19 pushed a commit to AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet that referenced this issue Jan 4, 2025
* Needed for .net cdn change

see dotnet/core#9671

and: AzureAD/microsoft-identity-web#3175

* Update codeql action to setup .NET 9
mthalman pushed a commit to dotnet/source-build that referenced this issue Jan 6, 2025
Changing URLs because of CDN change referenced at dotnet/core#9671
wtgodbe pushed a commit to dotnet/aspnetcore that referenced this issue Jan 6, 2025
Bump the update-dotnet-sdk action to v3.4.0 to pick up changes to react to dotnet/core#9671.
sebastienros pushed a commit to dotnet/extensions that referenced this issue Jan 7, 2025
Bump the update-dotnet-sdk action to v3.4.0 to pick up changes to react to dotnet/core#9671.
Redth added a commit to dotnet/maui that referenced this issue Jan 7, 2025
@Odraio
Copy link

Odraio commented Jan 8, 2025

The command npx playwright install redirects to https://playwright.azureedge.net/*. Is the install affected by https://devblogs.microsoft.com/dotnet/critical-dotnet-install-links-are-changing and necessary to update the links?

@baronfel
Copy link
Member

baronfel commented Jan 8, 2025

@Odraio I believe these urls were updated in microsoft/playwright#34061, perhaps if you ask on their repo they will have information about release cadences?

@cetinbug
Copy link

cetinbug commented Jan 9, 2025

@richlander For our Azure Functions, we currently use the URL functionscdn.azureedge.net to retrieve extension bundles. However, after reviewing the issue, I noticed that there is no specific mention of the subdomain functionscdn in the migration details. Could you please clarify if this subdomain will also be migrated and, if so, to which domain?

For example, we are getting extension bundles from a url like: "https://functionscdn.azureedge.net/public/ExtensionBundles/Microsoft.Azure.Functions.ExtensionBundle.Preview/$EXTENSION_BUNDLE_VERSION"

eljog pushed a commit to devcontainers/features that referenced this issue Jan 9, 2025
The azureedge.net domain might stop working as detailed in dotnet/core#9671

Changes in this PR:

dotnet: update the logic to determine the latest version
dotnet and oryx: copy latest dotnet-install script from
https://github.com/dotnet/install-scripts/blob/main/src/dotnet-install.sh
(Normally this happens automatically by a GitHub Action, but there is a sense of urgency here, so I did it manually)
Additional context

https://devblogs.microsoft.com/dotnet/critical-dotnet-install-links-are-changing/
https://build5nines.com/retirement-of-azureedge-net-dns-edg-io-business-closure-and-what-you-need-to-know/
@asatrur
Copy link

asatrur commented Jan 10, 2025

We use the URL https://azcopyvnext.azureedge.net for downloading Azcopy, as it mentioned in all of MS's documentation as the location for downloading from. This stopped working yesterday and is not mentioned in your update. What is the new URL for this?

@o-l-a-v
Copy link

o-l-a-v commented Jan 10, 2025

@cetinbug: Maybe it's better to ask in one of these repos:


@asatrur: Azure/azure-storage-azcopy#2903.

The aka ms links will now point to URLs that start with https://azcopyvnext-awgzd8g7aagqhzhe.b02.azurefd.net/

If using the aka.ms links, they already point to azcopyvnext-awgzd8g7aagqhzhe.b02.azurefd.net.

@asatrur
Copy link

asatrur commented Jan 10, 2025

@asatrur: Azure/azure-storage-azcopy#2903.

The aka ms links will now point to URLs that start with https://azcopyvnext-awgzd8g7aagqhzhe.b02.azurefd.net/

If using the aka.ms links, they already point to azcopyvnext-awgzd8g7aagqhzhe.b02.azurefd.net.

* https://www.whatsmydns.net/redirect-checker?q=https%3A%2F%2Faka.ms%2Fdownloadazcopy-v10-windows

Thanks, it would have been nice if they mentioned that somewhere before screwing us

@schoag-msft
Copy link

@asatrur: Azure/azure-storage-azcopy#2903.

The aka ms links will now point to URLs that start with https://azcopyvnext-awgzd8g7aagqhzhe.b02.azurefd.net/

If using the aka.ms links, they already point to azcopyvnext-awgzd8g7aagqhzhe.b02.azurefd.net.

* https://www.whatsmydns.net/redirect-checker?q=https%3A%2F%2Faka.ms%2Fdownloadazcopy-v10-windows

Thanks, it would have been nice if they mentioned that somewhere before screwing us

Please don't pull from any of the *.azureedge.net or *.azurefd.net for any service - you should be using the custom domains that front the CDN endpoints or the canonical aka.ms links. In the case of AzCopy, those links can always be found at https://aka.ms/downloadazcopy. Each platform we distribute for has its own aka.ms link that points to the most current release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests