- Your company plans to release a new web application. This application is deployed using an App Service in Azure and will be available for all users of the packtpub.com domain. You have already purchased the packtpub.com domain name. You configure the packtpub.com Azure Domain Name System (DNS) zone and delegate it to the Azure DNS. You need to ensure that the web application can be accessed by using the packtpub.com domain name. You decide to use PowerShell to accomplish this. Which command should you use?
- New-AzDnsRecordSet -Name "packtpub.com" -RecordType "AAAA" -ZoneName "packtpub.com" `
-ResourceGroupName "MyAzureResourceGroup" -Ttl 600 `
-DnsRecords (New-AzDnsRecordConfig -IPv4Address "<your web app IP address>")
New-AzDnsRecordSet -ZoneName packtpub.com -ResourceGroupName...
- New-AzDnsRecordSet -Name "packtpub.com" -RecordType "AAAA" -ZoneName "packtpub.com" `
United States
Great Britain
India
Germany
France
Canada
Russia
Spain
Brazil
Australia
Singapore
Hungary
Ukraine
Luxembourg
Estonia
Lithuania
South Korea
Turkey
Switzerland
Colombia
Taiwan
Chile
Norway
Ecuador
Indonesia
New Zealand
Cyprus
Denmark
Finland
Poland
Malta
Czechia
Austria
Sweden
Italy
Egypt
Belgium
Portugal
Slovenia
Ireland
Romania
Greece
Argentina
Netherlands
Bulgaria
Latvia
South Africa
Malaysia
Japan
Slovakia
Philippines
Mexico
Thailand