{"id":18605,"date":"2020-08-29T08:27:20","date_gmt":"2020-08-29T08:27:20","guid":{"rendered":"https:\/\/www.testpreptraining.com\/tutorial\/?page_id=18605"},"modified":"2020-08-29T08:28:31","modified_gmt":"2020-08-29T08:28:31","slug":"creating-an-azure-dns-zone-and-record-using-the-azure-portal","status":"publish","type":"page","link":"https:\/\/www.testpreptraining.ai\/tutorial\/creating-an-azure-dns-zone-and-record-using-the-azure-portal\/","title":{"rendered":"Creating an Azure DNS zone and record using the Azure portal"},"content":{"rendered":"\n<p class=\"has-text-align-right\"><strong><a href=\"https:\/\/www.testpreptraining.ai\/tutorial\/exam-az-104-microsoft-azure-administrator-associate\/\" target=\"_blank\" rel=\"noreferrer noopener\">Return to AZ-104 Tutorial<\/a><\/strong><\/p>\n\n\n\n<p>Here you&#8217;ll learn about Azure DNS to resolve hostnames in your public domain. Also, you&#8217;ll learn step by step how to create an Azure DNS zone and further how to record with the help of the Azure portal.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"create-a-dns-zone\"><strong>Creating a DNS zone<\/strong><\/h4>\n\n\n\n<p>To begin with, a DNS zone comprises of the DNS entries for a particular domain. So, in order to host the domain in Azure DNS, one must create a DNS zone for that domain name.<\/p>\n\n\n\n<p><strong>To generate the DNS zone:<\/strong><\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>First of all, select&nbsp;<strong>Create a resource<\/strong>, then&nbsp;<strong>Networking<\/strong>, and later&nbsp;<strong>DNS zone<\/strong>.<\/li><li>On the&nbsp;<strong>Create DNS zone<\/strong>&nbsp;page, select the following values of name and Resource Group.<\/li><li>Click <strong>Create<\/strong>.<img decoding=\"async\" src=\"https:\/\/docs.microsoft.com\/en-us\/azure\/dns\/media\/dns-getstarted-portal\/openzone650.png\" alt=\"DNS zone\"><\/li><\/ol>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"create-a-dns-record\"><strong>Creating a DNS record<\/strong><\/h4>\n\n\n\n<p>To create DNS entries for the domain inside the DNS zone. You need to first create a new address record or &#8216;A&#8217; record to determine a hostname to an IPv4 address.<\/p>\n\n\n\n<p><strong>To create an &#8216;A&#8217; record:<\/strong><\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>On the Azure portal, first, open the&nbsp;<strong>contoso.xyz<\/strong>&nbsp;DNS zone in the&nbsp;<strong>MyResourceGroup<\/strong>&nbsp;resource group. <\/li><li>Now, select&nbsp;<strong>+ Record set<\/strong>.<\/li><li>Subsequently, type the following values:<ul><li>Name: Type&nbsp;www. The record name is the hostname that you wish to propose to the specified IP address.<\/li><li><strong>Type<\/strong>: Select&nbsp;<strong>A<\/strong>. &#8216;A&#8217; records are the most basic, however, there are other various record types for mail servers (&#8216;MX&#8217;), IP v6 addresses (&#8216;AAAA&#8217;).<\/li><li><strong>TTL<\/strong>: Type&nbsp;<em>1<\/em>.&nbsp;<em>Time-to-live<\/em>&nbsp;of the DNS requests defines how long DNS servers and clients can cache a response.<\/li><li><strong>TTL unit<\/strong>: Select&nbsp;<strong>Hours<\/strong>. This is the time unit for the&nbsp;<strong>TTL<\/strong>&nbsp;value.<\/li><li><strong>IP address<\/strong>: For instance, type&nbsp;<em>10.10.10.10<\/em>. This value is the IP address the record name resolves to. In a real-world scenario, you would enter the public IP address for your web server.<\/li><\/ul><\/li><\/ol>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><a href=\"https:\/\/www.testpreptraining.ai\/microsoft-azure-administrator-associate-az-104-free-practice-test\" target=\"_blank\" rel=\"noopener noreferrer\"><img decoding=\"async\" src=\"https:\/\/www.testpreptraining.ai\/tutorial\/wp-content\/uploads\/2020\/06\/practice-test-2.png\" alt=\"Practice Test for AZ-104\"\/><\/a><\/figure><\/div>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"test-the-name-resolution\"><strong>Testing the name resolution<\/strong><\/h4>\n\n\n\n<p>Now that you have got a test DNS zone with a test &#8216;A&#8217; record, you can test the name resolution with a tool called&nbsp;<em>nslookup<\/em>.<\/p>\n\n\n\n<p><strong>To test DNS name resolution:<\/strong><\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>Now, under&nbsp;<strong>All resources<\/strong>, start with the&nbsp;<strong>contoso.xyz<\/strong>&nbsp;DNS zone in the&nbsp;<strong>MyResourceGroup<\/strong>&nbsp;resource group. Also, you can enter&nbsp;<em>contoso.xyz<\/em>&nbsp;in the&nbsp;<strong>Filter by name<\/strong>&nbsp;box to find it more easily.<\/li><li>Next, copy one of the name server names from the name server list on the&nbsp;<strong>Overview<\/strong>&nbsp;page.<img decoding=\"async\" src=\"https:\/\/docs.microsoft.com\/en-us\/azure\/dns\/media\/dns-getstarted-portal\/viewzonens500.png\" alt=\"zone\"><\/li><li>Now the command prompt box will open, here run the following command:Copy<code>nslookup www.contoso.xyz &lt;name server name&gt; <\/code><img decoding=\"async\" src=\"https:\/\/docs.microsoft.com\/en-us\/azure\/dns\/media\/dns-getstarted-portal\/nslookup.png\" alt=\"nslookup\" style=\"width: 1px;\"><\/li><\/ol>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img decoding=\"async\" src=\"https:\/\/docs.microsoft.com\/en-us\/azure\/dns\/media\/dns-getstarted-portal\/nslookup.png\" alt=\"Azure DNS\"\/><\/figure><\/div>\n\n\n\n<p>This result verifies that name resolution is working correctly.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"clean-up-resources\"><strong>Cleaning up resources<\/strong><\/h4>\n\n\n\n<p>Now that you no longer require the resources you created, remove them by deleting the&nbsp;<strong>MyResourceGroup<\/strong>&nbsp;resource group. Open the&nbsp;<strong>MyResourceGroup<\/strong>&nbsp;resource group, and select&nbsp;<strong>Delete resource group<\/strong>.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><a href=\"https:\/\/www.testpreptraining.ai\/microsoft-azure-administrator-associate-az-104-online-course\" target=\"_blank\" rel=\"noopener noreferrer\"><img decoding=\"async\" src=\"https:\/\/www.testpreptraining.ai\/tutorial\/wp-content\/uploads\/2020\/07\/testpreptraining.ai-2-750x117.png\" alt=\"\"\/><\/a><\/figure><\/div>\n\n\n\n<p class=\"has-text-align-right\"><strong>Reference: <a href=\"https:\/\/docs.microsoft.com\/en-us\/azure\/dns\/dns-getstarted-portal\" target=\"_blank\" rel=\"noreferrer noopener\">Microsoft Documentation<\/a><\/strong><\/p>\n\n\n\n<p><strong><a href=\"https:\/\/www.testpreptraining.ai\/tutorial\/exam-az-104-microsoft-azure-administrator-associate\/\" target=\"_blank\" rel=\"noreferrer noopener\">Return to AZ-104 Tutorial<\/a><\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Return to AZ-104 Tutorial Here you&#8217;ll learn about Azure DNS to resolve hostnames in your public domain. Also, you&#8217;ll learn step by step how to create an Azure DNS zone and further how to record with the help of the Azure portal. Creating a DNS zone To begin with, a DNS zone comprises of the&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"footnotes":""},"categories":[],"tags":[],"class_list":["post-18605","page","type-page","status-publish","hentry"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v22.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Creating an Azure DNS zone and record using the Azure portal - Testprep Training Tutorials<\/title>\n<meta name=\"description\" content=\"Increase your skills by learning about Azure DNS with manage virtual networking using Microsoft Azure AZ-104 online course Now!\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.testpreptraining.ai\/tutorial\/creating-an-azure-dns-zone-and-record-using-the-azure-portal\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Creating an Azure DNS zone and record using the Azure portal - Testprep Training Tutorials\" \/>\n<meta property=\"og:description\" content=\"Increase your skills by learning about Azure DNS with manage virtual networking using Microsoft Azure AZ-104 online course Now!\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.testpreptraining.ai\/tutorial\/creating-an-azure-dns-zone-and-record-using-the-azure-portal\/\" \/>\n<meta property=\"og:site_name\" content=\"Testprep Training Tutorials\" \/>\n<meta property=\"article:modified_time\" content=\"2020-08-29T08:28:31+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/docs.microsoft.com\/en-us\/azure\/dns\/media\/dns-getstarted-portal\/openzone650.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/creating-an-azure-dns-zone-and-record-using-the-azure-portal\/\",\"url\":\"https:\/\/www.testpreptraining.ai\/tutorial\/creating-an-azure-dns-zone-and-record-using-the-azure-portal\/\",\"name\":\"Creating an Azure DNS zone and record using the Azure portal - Testprep Training Tutorials\",\"isPartOf\":{\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/#website\"},\"datePublished\":\"2020-08-29T08:27:20+00:00\",\"dateModified\":\"2020-08-29T08:28:31+00:00\",\"description\":\"Increase your skills by learning about Azure DNS with manage virtual networking using Microsoft Azure AZ-104 online course Now!\",\"breadcrumb\":{\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/creating-an-azure-dns-zone-and-record-using-the-azure-portal\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.testpreptraining.ai\/tutorial\/creating-an-azure-dns-zone-and-record-using-the-azure-portal\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/creating-an-azure-dns-zone-and-record-using-the-azure-portal\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.testpreptraining.ai\/tutorial\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Creating an Azure DNS zone and record using the Azure portal\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/#website\",\"url\":\"https:\/\/www.testpreptraining.ai\/tutorial\/\",\"name\":\"Testprep Training Tutorials\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.testpreptraining.ai\/tutorial\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/#organization\",\"name\":\"Testprep Training\",\"url\":\"https:\/\/www.testpreptraining.ai\/tutorial\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.testpreptraining.com\/tutorial\/wp-content\/uploads\/2020\/07\/tpt-logo-6.png\",\"contentUrl\":\"https:\/\/www.testpreptraining.com\/tutorial\/wp-content\/uploads\/2020\/07\/tpt-logo-6.png\",\"width\":583,\"height\":153,\"caption\":\"Testprep Training\"},\"image\":{\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/#\/schema\/logo\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Creating an Azure DNS zone and record using the Azure portal - Testprep Training Tutorials","description":"Increase your skills by learning about Azure DNS with manage virtual networking using Microsoft Azure AZ-104 online course Now!","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.testpreptraining.ai\/tutorial\/creating-an-azure-dns-zone-and-record-using-the-azure-portal\/","og_locale":"en_US","og_type":"article","og_title":"Creating an Azure DNS zone and record using the Azure portal - Testprep Training Tutorials","og_description":"Increase your skills by learning about Azure DNS with manage virtual networking using Microsoft Azure AZ-104 online course Now!","og_url":"https:\/\/www.testpreptraining.ai\/tutorial\/creating-an-azure-dns-zone-and-record-using-the-azure-portal\/","og_site_name":"Testprep Training Tutorials","article_modified_time":"2020-08-29T08:28:31+00:00","og_image":[{"url":"https:\/\/docs.microsoft.com\/en-us\/azure\/dns\/media\/dns-getstarted-portal\/openzone650.png"}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.testpreptraining.ai\/tutorial\/creating-an-azure-dns-zone-and-record-using-the-azure-portal\/","url":"https:\/\/www.testpreptraining.ai\/tutorial\/creating-an-azure-dns-zone-and-record-using-the-azure-portal\/","name":"Creating an Azure DNS zone and record using the Azure portal - Testprep Training Tutorials","isPartOf":{"@id":"https:\/\/www.testpreptraining.ai\/tutorial\/#website"},"datePublished":"2020-08-29T08:27:20+00:00","dateModified":"2020-08-29T08:28:31+00:00","description":"Increase your skills by learning about Azure DNS with manage virtual networking using Microsoft Azure AZ-104 online course Now!","breadcrumb":{"@id":"https:\/\/www.testpreptraining.ai\/tutorial\/creating-an-azure-dns-zone-and-record-using-the-azure-portal\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.testpreptraining.ai\/tutorial\/creating-an-azure-dns-zone-and-record-using-the-azure-portal\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.testpreptraining.ai\/tutorial\/creating-an-azure-dns-zone-and-record-using-the-azure-portal\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.testpreptraining.ai\/tutorial\/"},{"@type":"ListItem","position":2,"name":"Creating an Azure DNS zone and record using the Azure portal"}]},{"@type":"WebSite","@id":"https:\/\/www.testpreptraining.ai\/tutorial\/#website","url":"https:\/\/www.testpreptraining.ai\/tutorial\/","name":"Testprep Training Tutorials","description":"","publisher":{"@id":"https:\/\/www.testpreptraining.ai\/tutorial\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.testpreptraining.ai\/tutorial\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.testpreptraining.ai\/tutorial\/#organization","name":"Testprep Training","url":"https:\/\/www.testpreptraining.ai\/tutorial\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.testpreptraining.ai\/tutorial\/#\/schema\/logo\/image\/","url":"https:\/\/www.testpreptraining.com\/tutorial\/wp-content\/uploads\/2020\/07\/tpt-logo-6.png","contentUrl":"https:\/\/www.testpreptraining.com\/tutorial\/wp-content\/uploads\/2020\/07\/tpt-logo-6.png","width":583,"height":153,"caption":"Testprep Training"},"image":{"@id":"https:\/\/www.testpreptraining.ai\/tutorial\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/pages\/18605","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/comments?post=18605"}],"version-history":[{"count":3,"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/pages\/18605\/revisions"}],"predecessor-version":[{"id":18612,"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/pages\/18605\/revisions\/18612"}],"wp:attachment":[{"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/media?parent=18605"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/categories?post=18605"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/tags?post=18605"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}