An administrator is configuring a custom domain named `www.contoso.com` for an Azure App Service web app named `app-contoso`. The web app currently runs on a Standard (S1) App Service plan.
The administrator needs to verify domain ownership to bind the custom domain to the web app, but must ensure that no live user traffic is routed to the web app during the initial configuration phase.
Which DNS record should the administrator create in the `contoso.com` DNS zone to meet these requirements?
- A TXT record named `asuid.www` containing the Custom Domain Verification ID of the web app.Cevap
- BA CNAME record named `www` pointing to `app-contoso.azurewebsites.net`.
- CA TXT record named `asuid.www` containing the Custom Domain Verification ID of the web app, while scaling down the App Service plan to the Free (F1) tier.
- DA CNAME record named `www` pointing to `app-contoso.azurewebsites.net`, and an inbound Network Security Group (NSG) rule associated with the App Service to deny public Internet traffic.
Cevap
A TXT record named `asuid.www` containing the Custom Domain Verification ID of the web app.
The correct answer is the TXT record named `asuid.www` containing the Custom Domain Verification ID of the web app. This record is checked by Azure to confirm ownership of the subdomain without altering HTTP/HTTPS routing. This allows the administrator to successfully verify and bind the domain to the App Service in a staging manner before actually routing client traffic.
Adım Adım Çözüm
Anahtar Kavram
Azure App Service Custom Domain Verification using TXT records to prevent premature traffic routing.
Tahmini Süre:1m 30s