
<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>DNS Service Archives - TECHNIG</title>
	<atom:link href="https://www.technig.com/tag/dns-service/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.technig.com/tag/dns-service/</link>
	<description>Gateway for IT Experts and Tech Geeks</description>
	<lastBuildDate>Thu, 12 May 2022 10:25:45 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.6.2</generator>

<image>
	<url>https://www.technig.com/wp-content/uploads/2020/04/32x32.png</url>
	<title>DNS Service Archives - TECHNIG</title>
	<link>https://www.technig.com/tag/dns-service/</link>
	<width>32</width>
	<height>32</height>
</image> 
<site xmlns="com-wordpress:feed-additions:1">162720667</site>	<item>
		<title>Create and Configure a DNS Zone in Windows Server 2022</title>
		<link>https://www.technig.com/create-and-configure-a-dns-zone-in-windows-server-2022/</link>
					<comments>https://www.technig.com/create-and-configure-a-dns-zone-in-windows-server-2022/#respond</comments>
		
		<dc:creator><![CDATA[Danish]]></dc:creator>
		<pubDate>Thu, 12 May 2022 10:25:42 +0000</pubDate>
				<category><![CDATA[MCSA]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Active Directory Integrated Zone]]></category>
		<category><![CDATA[ADI DNS Zone]]></category>
		<category><![CDATA[Configure DNS Server]]></category>
		<category><![CDATA[Configure DNS Zone]]></category>
		<category><![CDATA[Create DNS Zone]]></category>
		<category><![CDATA[DNS Server]]></category>
		<category><![CDATA[DNS Service]]></category>
		<category><![CDATA[DNS Zone Transfer]]></category>
		<category><![CDATA[Forward Lookup Zone]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[Primary DNS Zone]]></category>
		<category><![CDATA[Primary Secondary DNS Zone]]></category>
		<category><![CDATA[Reverse Lookup Zone]]></category>
		<category><![CDATA[Secondary DNS Zone]]></category>
		<category><![CDATA[Stub DNS Zone]]></category>
		<category><![CDATA[Windows Server 2022]]></category>
		<guid isPermaLink="false">https://www.technig.com/?p=17695</guid>

					<description><![CDATA[<div style="margin-bottom:20px;"><img width="1221" height="694" src="https://www.technig.com/wp-content/uploads/2022/04/Feature-Image.jpg" class="attachment-post-thumbnail size-post-thumbnail wp-post-image" alt="Create and Configure DNS Zones on Windows Server 2022" decoding="async" fetchpriority="high" srcset="https://www.technig.com/wp-content/uploads/2022/04/Feature-Image.jpg 1221w, https://www.technig.com/wp-content/uploads/2022/04/Feature-Image-300x171.jpg 300w, https://www.technig.com/wp-content/uploads/2022/04/Feature-Image-1024x582.jpg 1024w, https://www.technig.com/wp-content/uploads/2022/04/Feature-Image-768x437.jpg 768w" sizes="(max-width: 1221px) 100vw, 1221px" /></div>
<p>As a core component of a DNS Server, a DNS Zone creates and stores DNS resource records. That means the DNS zones store all the resource records of a DNS namespace in themselves, and according to those records, the DNS Server resolves names to IP addresses upon the DNS queries by clients. The DNS Servers [&#8230;]</p>
<p>The post <a href="https://www.technig.com/create-and-configure-a-dns-zone-in-windows-server-2022/">Create and Configure a DNS Zone in Windows Server 2022</a> appeared first on <a href="https://www.technig.com">TECHNIG</a>.</p>
]]></description>
										<content:encoded><![CDATA[<div style="margin-bottom:20px;"><img width="1221" height="694" src="https://www.technig.com/wp-content/uploads/2022/04/Feature-Image.jpg" class="attachment-post-thumbnail size-post-thumbnail wp-post-image" alt="Create and Configure DNS Zones on Windows Server 2022" decoding="async" loading="lazy" srcset="https://www.technig.com/wp-content/uploads/2022/04/Feature-Image.jpg 1221w, https://www.technig.com/wp-content/uploads/2022/04/Feature-Image-300x171.jpg 300w, https://www.technig.com/wp-content/uploads/2022/04/Feature-Image-1024x582.jpg 1024w, https://www.technig.com/wp-content/uploads/2022/04/Feature-Image-768x437.jpg 768w" sizes="(max-width: 1221px) 100vw, 1221px" /></div>
<p>As a core component of a <a href="https://computer.howstuffworks.com/dns.htm" target="_blank" rel="noreferrer noopener nofollow">DNS Server</a>, a DNS Zone creates and stores DNS resource records. That means the DNS zones store all the resource records of a DNS namespace in themselves, and according to those records, the DNS Server resolves names to IP addresses upon the DNS queries by clients. The DNS Servers manage the DNS zones. It is the very fundamental configuration we must accomplish right after installing the DNS Service. Hence, this article covers how to create and configure a DNS Zone in Windows Server 2022 step-by-step. Before that, we need a comprehensive understanding of the DNS Zone types and their functions. That&#8217;s why we will first cover a brief overview of the DNS zone types and their functions. Then, we will create and configure DNS zones of all types in a separate section.</p>



<p>You may also like to read: <a href="https://technig.com/install-dns-using-server-manager-and-powershell/" target="_blank" rel="noreferrer noopener">Install DNS In Server 2022 Using Server Manager And Powershell.</a></p>



<h2 class="wp-block-heading">Forward Lookup Zone and Reverse Lookup Zone</h2>



<div class="wp-block-image"><figure class="aligncenter size-full"><img decoding="async" width="771" height="394" src="https://www.technig.com/wp-content/uploads/2022/04/Zones.jpg" alt="DNS Forward Lookup Zone and Reverse Lookup Zone" class="wp-image-17723" srcset="https://www.technig.com/wp-content/uploads/2022/04/Zones.jpg 771w, https://www.technig.com/wp-content/uploads/2022/04/Zones-300x153.jpg 300w, https://www.technig.com/wp-content/uploads/2022/04/Zones-768x392.jpg 768w" sizes="(max-width: 771px) 100vw, 771px" /><figcaption>DNS Forward Lookup Zone and Reverse Lookup Zone</figcaption></figure></div>



<p>Broadly classifying, there are two types of zones available in a DNS Server. The first one is the Forward Lookup Zone which resolves names and, sometimes, services to IP addresses. The second one is the Reverse Lookup Zone which resolves IP addresses to names. While we always use the first type in every networking environment, we rarely use the second type for some security reasons. Furthermore, we have four types of zones that we can create and configure in each one of these two zone classes. In fact, when we talk about zone configuration, we configure one of these four types, whether in the Forward Lookup Zone or the Reverse Lookup Zone. Wherever we create them, they function accordingly. Now, let&#8217;s see each of these four zone types we can create and configure. </p>



<h3 class="wp-block-heading">1. Primary DNS Zone</h3>



<p>As the name refers, the Primary DNS Zone is the main DNS zone that a primary DNS server hosts. It stores the read/write copy of the zone data (resource records). Let&#8217;s say we have a DNS Server for our main office with a thousand clients. Now, that DNS Server hosts a primary zone and stores the DNS records of all those thousand clients with both read and write privileges. </p>



<h3 class="wp-block-heading">2. Secondary DNS Zone</h3>



<p>The Secondary DNS Zone stores a read-only copy of the Primary DNS zone. It goes hand-in-hand with the primary zone. If a change occurs in the primary zone, that change replicates in the secondary zone. We can not delete or add a new resource record in a secondary DNS zone. We use it mainly to reduce the workload on the primary DNS server, prevent a single point of failure, and reduce other resource usages like network bandwidth in a scenario where the company&#8217;s branches are connected over a WAN link. </p>



<h3 class="wp-block-heading">3. Stub DNS Zone</h3>



<p>A Stub DNS Zone is very similar to a secondary DNS zone. But, it stores a copy of resource records of only the name servers (NS) of a primary zone and not all resource records of a primary zone. Like the primary-secondary zones, we use it to reduce loads on the primary DNS Server, prevent a single point of failure, and reduce other resource usage. </p>



<h3 class="wp-block-heading">4. Active Directory Integrated (ADI) DNS Zone</h3>



<p>An active directory Integrated zone, or ADI zone for short, can be hosted only on a DNS server which is also the Domain Controller. Using the ADI zone, all the resource records automatically replicate between the two DNS servers. It is entirely bidirectional and multi-master. That means any changes on one side replicate to the other side. This type is the most secure as the replications are encrypted.</p>



<p>Now that we have a conceptual understanding of each DNS zone type, we will go forward and practically configure each one in a separate section. </p>



<h2 class="wp-block-heading">Create and Configure a Primary DNS Zone </h2>



<p>From the above descriptions, we understand what a Primary DNS Zone is and where we use it. We will walk through the below steps to create and configure a primary DNS zone in Windows Server 2022. </p>



<p><strong>1. </strong>Open the <strong>DNS Manager</strong> console. To do so, open the <strong>Run </strong>dialogue box by pressing the <strong>Windows Key + R</strong> keys combination on your keyboard. Type<code>dnsmgmt.msc</code>command and press enter to open it. You can also open it by navigating through <strong>Server Manager &gt;&gt; Tools &gt;&gt; DNS.</strong></p>



<div class="wp-block-image"><figure class="aligncenter size-full is-resized"><img decoding="async" src="https://technig.com/wp-content/uploads/2022/04/DNS-Manager-Run.jpg" alt="Opening DNS Manager Using RUN Command" class="wp-image-17724" width="700" height="339"/><figcaption>Opening DNS Manager Using RUN Command</figcaption></figure></div>



<p><strong>2. </strong>Under the Server name on the DNS Manager console, you can create a new zone of both <strong>Forward Lookup Zones</strong> and <strong>Reverse Lookup Zones</strong>. Whichever you intend to create, right-click on it and choose<strong> the New Zone</strong> option. Consequently, click on the <strong>Next </strong>button on the first screen. </p>



<div class="wp-block-image"><figure class="aligncenter size-full is-resized"><img decoding="async" src="https://technig.com/wp-content/uploads/2022/04/1-6.jpg" alt="Create New Zone Option on DNS Manager" class="wp-image-17725" width="700" srcset="https://www.technig.com/wp-content/uploads/2022/04/1-6.jpg 743w, https://www.technig.com/wp-content/uploads/2022/04/1-6-300x135.jpg 300w" sizes="(max-width: 743px) 100vw, 743px" /><figcaption>Create a New Zone Option on DNS Manager</figcaption></figure></div>



<p><strong>3. </strong>To create a <strong>Primary Zone</strong>, check out the first option and uncheck the last checkbox. Then, click on <strong>Next</strong>. </p>



<div class="wp-block-image"><figure class="aligncenter size-full is-resized"><img loading="lazy" decoding="async" src="https://technig.com/wp-content/uploads/2022/04/2-11.jpg" alt="Selecting the Primary Zone Type on Zone Type screen" class="wp-image-17726" width="570" height="451" srcset="https://www.technig.com/wp-content/uploads/2022/04/2-11.jpg 496w, https://www.technig.com/wp-content/uploads/2022/04/2-11-300x237.jpg 300w, https://www.technig.com/wp-content/uploads/2022/04/2-11-279x220.jpg 279w" sizes="(max-width: 570px) 100vw, 570px" /><figcaption>Selecting the Primary Zone Type on the Zone Type screen</figcaption></figure></div>



<p><strong>4. </strong>On the <strong>Zone Name</strong> console, type your zone name and click on <strong>Next </strong>to continue. </p>



<div class="wp-block-image"><figure class="aligncenter size-full is-resized"><img decoding="async" src="https://technig.com/wp-content/uploads/2022/04/3-7.jpg" alt="Naming the the New DNS Primary Zone" class="wp-image-17727" width="570" srcset="https://www.technig.com/wp-content/uploads/2022/04/3-7.jpg 497w, https://www.technig.com/wp-content/uploads/2022/04/3-7-300x237.jpg 300w, https://www.technig.com/wp-content/uploads/2022/04/3-7-279x220.jpg 279w" sizes="(max-width: 497px) 100vw, 497px" /><figcaption>Naming the New DNS Primary Zone</figcaption></figure></div>



<p><strong>5. </strong>Now, configure the zone file. Choose the first option to create a new zone file, and click on the <strong>Next</strong>. The DNS zone creates a file to save the associated resource records. This file will be saved in the <strong>C:\Windows\System32\dns</strong> directory. </p>



<div class="wp-block-image"><figure class="aligncenter size-full is-resized"><img decoding="async" src="https://technig.com/wp-content/uploads/2022/04/4-7.jpg" alt="Naming the New Primary DNS Zone file" class="wp-image-17728" width="570" srcset="https://www.technig.com/wp-content/uploads/2022/04/4-7.jpg 497w, https://www.technig.com/wp-content/uploads/2022/04/4-7-300x235.jpg 300w, https://www.technig.com/wp-content/uploads/2022/04/4-7-279x220.jpg 279w" sizes="(max-width: 497px) 100vw, 497px" /><figcaption>Naming the New Primary DNS Zone file</figcaption></figure></div>



<p><strong>6. </strong>In this step, configure the <strong>Dynamic Updates</strong>. For the Primary DNS Zone, we have two options, and almost always, we choose the first active option, as shown in the picture. If we select the <strong>Do not allow dynamic updates</strong> option, we must manually update the resource records each time there is a new record, which is impossible in most cases. When it is set, click on the <strong>Next </strong>button. Finally, click on <strong>Finish </strong>on the last page. </p>



<div class="wp-block-image"><figure class="aligncenter size-full is-resized"><img decoding="async" src="https://technig.com/wp-content/uploads/2022/04/5-9.jpg" alt="Configure Dynamic Update for the New DNS Zone" class="wp-image-17729" width="570" srcset="https://www.technig.com/wp-content/uploads/2022/04/5-9.jpg 496w, https://www.technig.com/wp-content/uploads/2022/04/5-9-300x236.jpg 300w, https://www.technig.com/wp-content/uploads/2022/04/5-9-279x220.jpg 279w" sizes="(max-width: 496px) 100vw, 496px" /><figcaption>Configure Dynamic Update for the New DNS Zone</figcaption></figure></div>



<p>That is all with the Primary DNS zone configuration. However, we still need to configure zone transfer. </p>



<h3 class="wp-block-heading">Configure Primary DNS Zone Transfer</h3>



<p>We learned how to create and configure a new Primary DNS zone in Server 2022. But, we still need to configure the zone transfer for our newly created primary DNS zone. The zone transfer configuration specifies the server(s) with which our primary zone must replicate its information. Follow the steps below to configure Zone Transfer. </p>



<p><strong>1. </strong>Right-click on your <strong>DNS Zone</strong> and select the <strong>Properties </strong>option from the list. </p>



<div class="wp-block-image"><figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="841" height="548" src="https://technig.com/wp-content/uploads/2022/04/1-8.jpg" alt="Going to the Properties of a Zone" class="wp-image-17735" srcset="https://www.technig.com/wp-content/uploads/2022/04/1-8.jpg 841w, https://www.technig.com/wp-content/uploads/2022/04/1-8-300x195.jpg 300w, https://www.technig.com/wp-content/uploads/2022/04/1-8-768x500.jpg 768w, https://www.technig.com/wp-content/uploads/2022/04/1-8-210x136.jpg 210w" sizes="(max-width: 841px) 100vw, 841px" /><figcaption>Going to the Properties of a Zone</figcaption></figure></div>



<p><strong>2.</strong> On the zone properties page, select the <strong>Name Servers </strong>tab and click on <strong>Add </strong>button. </p>



<div class="wp-block-image"><figure class="aligncenter size-full is-resized"><img loading="lazy" decoding="async" src="https://technig.com/wp-content/uploads/2022/04/2-13.jpg" alt="Adding a New Server for Zone transfer" class="wp-image-17736" width="500" height="616" srcset="https://www.technig.com/wp-content/uploads/2022/04/2-13.jpg 398w, https://www.technig.com/wp-content/uploads/2022/04/2-13-244x300.jpg 244w" sizes="(max-width: 500px) 100vw, 500px" /><figcaption>Adding a New Server for Zone transfer</figcaption></figure></div>



<p><strong>3. </strong>On the <strong>New Name Server Record </strong>screen, type the name or IP address of the secondary server with which you want to replicate this zone&#8217;s resource records. Use the Resolve button to resolve it. Once you have added the secondary server(s), click on the <strong>OK </strong>button. Do not care about the warning sign with the resolved server(s). Finally, close the zone&#8217;s <strong>Properties </strong>window. </p>



<div class="wp-block-image"><figure class="aligncenter size-full is-resized"><img loading="lazy" decoding="async" src="https://technig.com/wp-content/uploads/2022/04/3-9.jpg" alt="Adding a New Name Server for Zone Transfer" class="wp-image-17737" width="544" height="416" srcset="https://www.technig.com/wp-content/uploads/2022/04/3-9.jpg 527w, https://www.technig.com/wp-content/uploads/2022/04/3-9-300x229.jpg 300w, https://www.technig.com/wp-content/uploads/2022/04/3-9-260x200.jpg 260w" sizes="(max-width: 544px) 100vw, 544px" /><figcaption>Adding a New Name Server for Zone Transfer</figcaption></figure></div>



<p>We are all done with the primary zone. We have created and configured it, and then we configured the zone transfer. It is all set and ready to resolve names and replicate its records with the secondary DNS zone on the Server(s) we have just added. </p>



<h2 class="wp-block-heading">Create and Configure a Secondary DNS Zone</h2>



<p>A secondary DNS zone, as we described earlier, is a read-only copy of the primary DNS zone that updates itself with a replication of the Primary DNS zone records associated with it. It is also very similar in terms of configuration steps. Anyway, let&#8217;s move on and go with those steps to create and configure a Secondary DNS zone in Server 2022.</p>



<p><strong>1.</strong> Open the DNS Manager console on the secondary server (Same as the Primary DNS zone described above) </p>



<p><strong>2. </strong>Create a new DNS zone (Same as the step 2 of the primary DNS zone described above)</p>



<p><strong>3.</strong> Choose the <strong>Secondary Zone</strong> option as shown in the below picture to create a secondary DNS zone. Then, click on the <strong>Next</strong> button. </p>



<div class="wp-block-image"><figure class="aligncenter size-full is-resized"><img decoding="async" src="https://technig.com/wp-content/uploads/2022/04/1-7.jpg" alt="Choosing The DNS Zone Type for Secondary DNS Zone" class="wp-image-17732" width="570" srcset="https://www.technig.com/wp-content/uploads/2022/04/1-7.jpg 498w, https://www.technig.com/wp-content/uploads/2022/04/1-7-300x236.jpg 300w, https://www.technig.com/wp-content/uploads/2022/04/1-7-279x220.jpg 279w" sizes="(max-width: 498px) 100vw, 498px" /><figcaption>Choosing The DNS Zone Type for Secondary DNS Zone</figcaption></figure></div>



<p><strong>4. </strong>Name the Secondary DNS zone. Remember that it is mandatory that the Secondary DNS zone name must be the same as the Primary DNS zone with which you want to associate. That is what makes them correlate with each other. So our secondary DNS name becomes <strong>Zone1 </strong>as of the primary DNS zone. Click on <strong>Next </strong>when it is set. </p>



<div class="wp-block-image"><figure class="aligncenter size-full is-resized"><img decoding="async" src="https://technig.com/wp-content/uploads/2022/04/3-8.jpg" alt="Naming the Secondary DNS Zone" class="wp-image-17731" width="570" srcset="https://www.technig.com/wp-content/uploads/2022/04/3-8.jpg 497w, https://www.technig.com/wp-content/uploads/2022/04/3-8-300x237.jpg 300w, https://www.technig.com/wp-content/uploads/2022/04/3-8-279x220.jpg 279w" sizes="(max-width: 497px) 100vw, 497px" /><figcaption>Naming the Secondary DNS Zone</figcaption></figure></div>



<p><strong>5.</strong> Specify the <strong>Master DNS Server(s)</strong> using their IP addresses or names. Once specified correctly, click on the <strong>Next </strong>button. Finally, click on the <strong>Finish </strong>button on the next page. </p>



<div class="wp-block-image"><figure class="aligncenter size-full is-resized"><img decoding="async" src="https://technig.com/wp-content/uploads/2022/04/2-12.jpg" alt="Choosing the Master DNS Server for Secondary DNS Zone" class="wp-image-17733" width="570" srcset="https://www.technig.com/wp-content/uploads/2022/04/2-12.jpg 495w, https://www.technig.com/wp-content/uploads/2022/04/2-12-300x237.jpg 300w, https://www.technig.com/wp-content/uploads/2022/04/2-12-279x220.jpg 279w" sizes="(max-width: 495px) 100vw, 495px" /><figcaption>Choosing the Master DNS Server for Secondary DNS Zone</figcaption></figure></div>



<p>At this point, we have successfully created and configured the secondary DNS zone. Now, let&#8217;s verify if they work correctly. </p>



<h2 class="wp-block-heading">Verify Primary-Secondary DNS Zones</h2>



<p>We already know the purpose of the primary and secondary DNS zones. So, it is clear that all the resource records from the primary DNS zone should automatically get stored in the secondary DNS zone. Besides learning how to create and configure a DNS Zone in Server 2022, we verify this replication of resources and check if it works. </p>



<p>To verify this configuration, first, we manually create a new record in the primary DNS zone on the DNS server that hosts it (DC1 in our scenario). Then, we check if it is replicated in the secondary DNS zone on the DNS server that hosts our secondary zone (SRV1 in our scenario). Let&#8217;s move on step by step. </p>



<p><strong>1. </strong>On the primary DNS server (DC1 in our example), right-click on the primary zone you have created and choose <strong>New Host (A or AAAA)</strong> option from the list. </p>



<div class="wp-block-image"><figure class="aligncenter size-full is-resized"><img loading="lazy" decoding="async" src="https://technig.com/wp-content/uploads/2022/04/1-9.jpg" alt="Creating New Record in a DNS Zone" class="wp-image-17738" width="700" height="349"/><figcaption>Creating New Record in a DNS Zone</figcaption></figure></div>



<p><strong>2. </strong>Put the name of the new record in the <strong>Name </strong>box, and put the IP address associated with that name in the <strong>IP address</strong> box. Then, click on the <strong>Add Host</strong> button. <strong>Next</strong>, click on the <strong>OK </strong>button on the message window. Finally, click on the <strong>Done </strong>button. </p>



<div class="wp-block-image"><figure class="aligncenter size-full is-resized"><img loading="lazy" decoding="async" src="https://technig.com/wp-content/uploads/2022/04/2-14.jpg" alt="Adding New Host A in a Primary DNS Zone" class="wp-image-17739" width="500" height="473"/><figcaption>Adding New Host A in a Primary DNS Zone</figcaption></figure></div>



<p><strong>3. </strong>On the secondary DNS server (SRV1 in our example), click on the secondary zone and see if the record you have created in the primary zone is added there. Remember that it might take a few seconds to replicate. So, refresh the DNS manager window on the secondary server. </p>



<div class="wp-block-image"><figure class="aligncenter size-full is-resized"><img loading="lazy" decoding="async" src="https://technig.com/wp-content/uploads/2022/04/3-10.jpg" alt="Replicated DNS Resource Record in the Secondary Zone" class="wp-image-17740" width="696" height="338" srcset="https://www.technig.com/wp-content/uploads/2022/04/3-10.jpg 709w, https://www.technig.com/wp-content/uploads/2022/04/3-10-300x146.jpg 300w" sizes="(max-width: 696px) 100vw, 696px" /><figcaption>Replicated DNS Resource Record in the Secondary Zone</figcaption></figure></div>



<p>This way, we can manually add a DNS record in our primary zone and check if it replicates to the secondary zone.</p>



<h2 class="wp-block-heading">Create and Configure a Stub DNS Zone </h2>



<p>Earlier in this article, we discussed the Stub DNS zone. We know where we use it and what resource records it stores. Now in this section, we dive into the steps on how we can create and configure a Stub zone in Windows Server 2022. Most of the steps are similar to the secondary zone configuration we covered above. So, to keep it short, we will refer to the secondary zone configuration steps for similar ones. </p>



<p><strong>1.</strong> Open DNS Manager console (same as the Step 1 of secondary zone configuration)</p>



<p><strong>2.</strong> Create a new DNS zone (Same as the step 2 of the secondary zone configuration) </p>



<p><strong>3. </strong>Choose the <strong>Stub zone</strong> option on the <strong>Zone Type</strong> window. </p>



<div class="wp-block-image"><figure class="aligncenter size-full is-resized"><img loading="lazy" decoding="async" src="https://technig.com/wp-content/uploads/2022/04/1-10.jpg" alt="Selecting the Stub Zone Option for New Stub Zone" class="wp-image-17741" width="570" height="410"/><figcaption>Selecting the Stub Zone Option for New Stub Zone</figcaption></figure></div>



<p><strong>4. </strong>Enter the name of the Stub zone. (Same as step 4 of the secondary zone configuration)</p>



<p><strong>5. </strong>Configure zone file. (Same as the step 5 of the <strong>Primary zone</strong> configuration discussed above) </p>



<p><strong>6.</strong> Add the master server (primary server which hosts the primary zone) as we did for the secondary DNS zone. </p>



<p>We configured a Stub Zone following these six steps. It is straightforward and requires almost the same steps as the secondary zone configuration except for steps three and five, where we specify the zone type and configure the zone file. </p>



<h2 class="wp-block-heading">Create and Configure an Active Directory Integrated (ADI) DNS Zone</h2>



<p>We are familiar with the concept of Active Directory Integrated (ADI) DNS Zones, as we discussed earlier in this article. To remind you, the ADI zones can be hosted only on the DNS servers, which are also the domain controller. With that in mind, this section covers the steps on how to create and configure an ADI DNS zone in Windows Server 2022. Let&#8217;s walk through the steps. To keep it short, we will refer to some of the above section&#8217;s steps if there are similar steps to the above sections. </p>



<p><strong>1. </strong>Pull up the DNS Manager console as we did in previous sections. </p>



<p><strong>2.</strong> Create a new DNS zone. (step 2 of the above sections)</p>



<p><strong>3.</strong> Select the <strong>Primary zone</strong> option and check out the last checkbox option for the ADI DNS zone. Click on <strong>Next</strong> afterward. </p>



<div class="wp-block-image"><figure class="aligncenter size-full is-resized"><img decoding="async" src="https://technig.com/wp-content/uploads/2022/04/1-11.jpg" alt="Selecting Active Directory Integrated DNS Zone Option " class="wp-image-17748" width="570" srcset="https://www.technig.com/wp-content/uploads/2022/04/1-11.jpg 496w, https://www.technig.com/wp-content/uploads/2022/04/1-11-300x236.jpg 300w, https://www.technig.com/wp-content/uploads/2022/04/1-11-279x220.jpg 279w" sizes="(max-width: 496px) 100vw, 496px" /><figcaption>Selecting Active Directory Integrated DNS Zone Option </figcaption></figure></div>



<p><strong>4. </strong>Select the replication scope for the ADI zone in which it must replicate its resource records. We always use one of the two first options. The first one is to replicate the zone to all servers in the forest, and the second option is to replicate it to all servers in the domain. It depends on your environment and the plan accordingly. When done, click on <strong>Next</strong>. </p>



<div class="wp-block-image"><figure class="aligncenter size-full is-resized"><img decoding="async" src="https://technig.com/wp-content/uploads/2022/04/2-15.jpg" alt="Selecting the Replication Scope for ADI DNS Zone" class="wp-image-17750" width="570" srcset="https://www.technig.com/wp-content/uploads/2022/04/2-15.jpg 497w, https://www.technig.com/wp-content/uploads/2022/04/2-15-300x235.jpg 300w, https://www.technig.com/wp-content/uploads/2022/04/2-15-279x220.jpg 279w" sizes="(max-width: 497px) 100vw, 497px" /><figcaption>Selecting the Replication Scope for ADI DNS Zone</figcaption></figure></div>



<p><strong>5.</strong> Type a name for your ADI DNS zone and click on <strong>Next </strong>to continue. </p>



<div class="wp-block-image"><figure class="aligncenter size-full is-resized"><img decoding="async" src="https://technig.com/wp-content/uploads/2022/04/3-11.jpg" alt="Naming ADI DNS zone " class="wp-image-17751" width="570" srcset="https://www.technig.com/wp-content/uploads/2022/04/3-11.jpg 496w, https://www.technig.com/wp-content/uploads/2022/04/3-11-300x236.jpg 300w, https://www.technig.com/wp-content/uploads/2022/04/3-11-279x220.jpg 279w" sizes="(max-width: 496px) 100vw, 496px" /><figcaption>Naming ADI DNS zone </figcaption></figure></div>



<p><strong>6. </strong>Configure the <strong>Secure Dynamic Update</strong> in this step. For the ADI DNS zone, the first option is also available. Almost always, we use the first option for an ADI zone. It also depends on your plan. Click on the <strong>Next </strong>button when it is set. Then, click on <strong>Finish </strong>in the next window. </p>



<div class="wp-block-image"><figure class="aligncenter size-full is-resized"><img decoding="async" src="https://technig.com/wp-content/uploads/2022/04/4-8.jpg" alt="Configuring Secure Dynamic updates for ADI DNS zone" class="wp-image-17752" width="570" srcset="https://www.technig.com/wp-content/uploads/2022/04/4-8.jpg 497w, https://www.technig.com/wp-content/uploads/2022/04/4-8-300x234.jpg 300w" sizes="(max-width: 497px) 100vw, 497px" /><figcaption>Configuring Secure Dynamic updates for ADI DNS zone</figcaption></figure></div>



<p>That is all the steps we walk through to create and configure an ADI DNS zone in Windows Server 2022. </p>



<h2 class="wp-block-heading">Summary</h2>



<p>To revise what we covered in this article, we started with an overview of the DNZ zones. First of all, we discussed the Forward Lookup Zone and Reverse Lookup Zone. We covered a brief overview of the four zones we can create and configure in each Forward and Reverse Lookup Zones. Next, in a step-by-step approach, we covered the primary zone creation and configuration. Likewise, we stepped into secondary zone configuration steps. Another small topic we covered was verifying primary-secondary zones. A stub zone configuration was the next section we covered. Finally, we explained the ADI DNS Zone configuration in six steps. </p>



<p>In the end, I would like to share my happiness in having you read our articles. Please feel free and let us know your thoughts and queries regarding our content.</p>
<p>The post <a href="https://www.technig.com/create-and-configure-a-dns-zone-in-windows-server-2022/">Create and Configure a DNS Zone in Windows Server 2022</a> appeared first on <a href="https://www.technig.com">TECHNIG</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.technig.com/create-and-configure-a-dns-zone-in-windows-server-2022/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">17695</post-id>	</item>
		<item>
		<title>Configure DNS Forwarder and DNS Conditional Forwarder in Server 2022</title>
		<link>https://www.technig.com/configure-dns-forwarder-conditional-forwarder-in-server-2022/</link>
					<comments>https://www.technig.com/configure-dns-forwarder-conditional-forwarder-in-server-2022/#respond</comments>
		
		<dc:creator><![CDATA[Danish]]></dc:creator>
		<pubDate>Tue, 10 May 2022 18:36:00 +0000</pubDate>
				<category><![CDATA[MCSA]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Configure DNS Server]]></category>
		<category><![CDATA[DNS Conditional Forwarder]]></category>
		<category><![CDATA[DNS Forwarder]]></category>
		<category><![CDATA[DNS Server]]></category>
		<category><![CDATA[DNS Server Configuration]]></category>
		<category><![CDATA[DNS Server Guide]]></category>
		<category><![CDATA[DNS Service]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[Windows Server 2022]]></category>
		<guid isPermaLink="false">https://technig.com/?p=17789</guid>

					<description><![CDATA[<div style="margin-bottom:20px;"><img width="1221" height="694" src="https://www.technig.com/wp-content/uploads/2022/04/Feature-Image-1.jpg" class="attachment-post-thumbnail size-post-thumbnail wp-post-image" alt="Configure DNS Forwarders and DNS Conditional Forwarders" decoding="async" loading="lazy" srcset="https://www.technig.com/wp-content/uploads/2022/04/Feature-Image-1.jpg 1221w, https://www.technig.com/wp-content/uploads/2022/04/Feature-Image-1-300x171.jpg 300w, https://www.technig.com/wp-content/uploads/2022/04/Feature-Image-1-1024x582.jpg 1024w, https://www.technig.com/wp-content/uploads/2022/04/Feature-Image-1-768x437.jpg 768w" sizes="(max-width: 1221px) 100vw, 1221px" /></div>
<p>As essential parts of a DNS Server, the DNS Forwarders and the DNS Conditional Forwarders are the two topics that we will configure after installing the DNS role and configuring the DNS zones. A DNS Forwarder is responsible for serving external DNS requests. We manually configure the DNS Forwarder on our DNS Server and specify [&#8230;]</p>
<p>The post <a href="https://www.technig.com/configure-dns-forwarder-conditional-forwarder-in-server-2022/">Configure DNS Forwarder and DNS Conditional Forwarder in Server 2022</a> appeared first on <a href="https://www.technig.com">TECHNIG</a>.</p>
]]></description>
										<content:encoded><![CDATA[<div style="margin-bottom:20px;"><img width="1221" height="694" src="https://www.technig.com/wp-content/uploads/2022/04/Feature-Image-1.jpg" class="attachment-post-thumbnail size-post-thumbnail wp-post-image" alt="Configure DNS Forwarders and DNS Conditional Forwarders" decoding="async" loading="lazy" srcset="https://www.technig.com/wp-content/uploads/2022/04/Feature-Image-1.jpg 1221w, https://www.technig.com/wp-content/uploads/2022/04/Feature-Image-1-300x171.jpg 300w, https://www.technig.com/wp-content/uploads/2022/04/Feature-Image-1-1024x582.jpg 1024w, https://www.technig.com/wp-content/uploads/2022/04/Feature-Image-1-768x437.jpg 768w" sizes="(max-width: 1221px) 100vw, 1221px" /></div>
<p>As essential parts of a <a href="https://docs.microsoft.com/en-us/windows-server/networking/dns/dns-top" target="_blank" rel="noreferrer noopener">DNS Server</a>, the DNS Forwarders and the DNS Conditional Forwarders are the two topics that we will configure after <a href="https://www.technig.com/install-dns-using-server-manager-and-powershell/" target="_blank" rel="noreferrer noopener nofollow">installing the DNS role</a> and configuring the DNS zones. A DNS Forwarder is responsible for serving external DNS requests. We manually configure the DNS Forwarder on our DNS Server and specify the DNS server(s) it should refer to for any external DNS requests. A DNS Conditional Forwarder resolves the external DNS requests only for a specific domain that we specify. Mainly, we configure it between partners and trusted organisations. With this brief introduction in mind, we will cover how to configure a DNS Forwarder and a DNS Conditional Forwarder in Windows Server 2022. We will cover each one in a separate section following a straightforward step-by-step approach. </p>



<p>Also, read <a href="https://technig.com/install-dns-using-server-manager-and-powershell/" target="_blank" rel="noreferrer noopener">Install DNS In Server 2022 Using Server Manager And Powershell</a>.</p>



<h2 class="wp-block-heading">Configure a DNS Forwarder in Server 2022</h2>



<p>We discussed a brief overview of the DNS Forwarder. In this section, we will go step-by-step to see how we can configure it in a Windows Server 2022. </p>



<p><strong>1. </strong>Pull up the <strong>DNS Manager</strong> console. To do so, press down the <strong>Windows Key + R </strong>keys on your keyboard. Then, type<code>dnsmgmt.msc</code>in the <strong>Run </strong>dialogue box and hit enter. An alternative way is to navigate through <strong>Server Manager &gt;&gt;Tools &gt;&gt; DNS.</strong> </p>



<div class="wp-block-image"><figure class="aligncenter size-full is-resized"><img decoding="async" src="https://technig.com/wp-content/uploads/2022/04/DNS-Manager-Run.jpg" alt="Opening DNS Manager Using RUN Command" class="wp-image-17724" width="600" srcset="https://www.technig.com/wp-content/uploads/2022/04/DNS-Manager-Run.jpg 586w, https://www.technig.com/wp-content/uploads/2022/04/DNS-Manager-Run-300x157.jpg 300w" sizes="(max-width: 586px) 100vw, 586px" /><figcaption>Opening DNS Manager Using RUN Command</figcaption></figure></div>



<p><strong>2.</strong> On the DNS Manager console, select the server name on the left pane and double-click on <strong>Forwarders </strong>at the right pane. </p>



<div class="wp-block-image"><figure class="aligncenter size-full is-resized"><img decoding="async" src="https://technig.com/wp-content/uploads/2022/04/1-12.jpg" alt="Opening Forwarders on DNS Manager console" class="wp-image-17802" width="600" srcset="https://www.technig.com/wp-content/uploads/2022/04/1-12.jpg 696w, https://www.technig.com/wp-content/uploads/2022/04/1-12-300x129.jpg 300w" sizes="(max-width: 696px) 100vw, 696px" /><figcaption>Opening Forwarders on DNS Manager console</figcaption></figure></div>



<p><strong>3. </strong>Select the <strong>Forwarders</strong> tab on the DNS server&#8217;s properties, and click on the <strong>Edit </strong>button, afterwards. </p>



<div class="wp-block-image"><figure class="aligncenter size-full is-resized"><img decoding="async" src="https://technig.com/wp-content/uploads/2022/04/2-16.jpg" alt="Editing Forwarders tab on DNS Manager" class="wp-image-17803" width="500" srcset="https://www.technig.com/wp-content/uploads/2022/04/2-16.jpg 397w, https://www.technig.com/wp-content/uploads/2022/04/2-16-254x300.jpg 254w" sizes="(max-width: 397px) 100vw, 397px" /><figcaption>Editing Forwarders tab on DNS Manager</figcaption></figure></div>



<p><strong>4.</strong> Now, add the IP address of the DNS server(s) to which you want to forward the DNS external requests. You can add many DNS servers. As of our example, we have added two Google public DNS servers (<strong>8.8.8.8 </strong>and<strong> 8.8.4.4</strong>). Click on a DNS server you have added, and you can set the order or delete it using the buttons on the right pane. Once everything is set, click on the <strong>OK </strong>button. </p>



<div class="wp-block-image"><figure class="aligncenter size-full is-resized"><img decoding="async" src="https://technig.com/wp-content/uploads/2022/04/3-12.jpg" alt="Adding DNS Server(s) to DNS Forwarders" class="wp-image-17804" width="600" srcset="https://www.technig.com/wp-content/uploads/2022/04/3-12.jpg 529w, https://www.technig.com/wp-content/uploads/2022/04/3-12-300x248.jpg 300w" sizes="(max-width: 529px) 100vw, 529px" /><figcaption>Adding DNS Server(s) to DNS Forwarders</figcaption></figure></div>



<p><strong>5. </strong>As you can see in the below picture, our two DNS servers are added to DNS Forwarders. Now our DNS server forwards any external DNS requests to one of these two DNS servers. Finally, Click on <strong>OK </strong>to close the window. </p>



<div class="wp-block-image"><figure class="aligncenter size-full is-resized"><img decoding="async" src="https://technig.com/wp-content/uploads/2022/04/4-9.jpg" alt="DNS Servers Added in DNS Forwarders" class="wp-image-17805" width="500" srcset="https://www.technig.com/wp-content/uploads/2022/04/4-9.jpg 395w, https://www.technig.com/wp-content/uploads/2022/04/4-9-254x300.jpg 254w" sizes="(max-width: 395px) 100vw, 395px" /><figcaption>DNS Servers Added to DNS Forwarders</figcaption></figure></div>



<p>All right. In five simple steps with picture illustration, we have explained how to configure a DNS forwarder in Windows Server 2022. </p>



<h2 class="wp-block-heading">Configure a DNS Conditional Forwarder in Server 2022</h2>



<p>A Conditional Forwarder, as we discussed earlier, resolves the external DNS requests only for a specific domain. We define that external domain in our DNS server. Our DNS server then resolves the external DNS request only for that domain. It forwards any external DNS requests other than for that domain to the DNS server(s) defined in forwarders or to the DNS servers in the root hint. Having said this stuff, let&#8217;s move on and see the steps to configure a DNS Conditional Forwarder in Windows Server 2022. </p>



<p><strong>1.</strong> Open up the <strong>DNS Manager</strong> console (step 1 of the previous section) </p>



<p><strong>2. </strong>Expand the DNS server and right-click on <strong>Conditional Forwarders.</strong> Select the <strong>New Conditional Forwarder</strong> option from the list. </p>



<div class="wp-block-image"><figure class="aligncenter size-full is-resized"><img decoding="async" src="https://technig.com/wp-content/uploads/2022/04/1-14.jpg" alt="Selecting Condition Forwarders on DNS Manager Console" class="wp-image-17814" width="600" srcset="https://www.technig.com/wp-content/uploads/2022/04/1-14.jpg 678w, https://www.technig.com/wp-content/uploads/2022/04/1-14-300x158.jpg 300w" sizes="(max-width: 678px) 100vw, 678px" /><figcaption>Selecting Condition Forwarders on DNS Manager Console</figcaption></figure></div>



<p><strong>3. </strong>On the <strong>New Conditional Forwarder</strong> window, first, enter the domain&#8217;s name that your DNS server should resolve the request for it. Then, enter the IP address of that domain. Next, if you want to store this conditional forwarder in the active directory, check out the relevant checkbox (labelled 3 in the below picture) and choose the appropriate replication option. Otherwise, leave this option unchecked. Finally, click on the <strong>OK </strong>button. </p>



<div class="wp-block-image"><figure class="aligncenter size-full is-resized"><img decoding="async" src="https://technig.com/wp-content/uploads/2022/04/2-17.jpg" alt="Adding a New Domain to the Conditional Forwarder" class="wp-image-17815" width="600" srcset="https://www.technig.com/wp-content/uploads/2022/04/2-17.jpg 526w, https://www.technig.com/wp-content/uploads/2022/04/2-17-300x252.jpg 300w" sizes="(max-width: 526px) 100vw, 526px" /><figcaption>Adding a New Domain to the Conditional Forwarder</figcaption></figure></div>



<p>These are all the steps required to configure a conditional forwarder on a DNS server with Windows Server 2022. Pretty easy!</p>



<h2 class="wp-block-heading">Conclusion</h2>



<p>Throughout this article, first, we discussed a brief overview of the DNS Forwarder and DNS Conditional Forwarder. Then, in two separate sections, we covered a step-by-step guide on how to configure a DNS Forwarder and DNS Conditional Forwarder in Windows Server 2022. </p>



<p>I hope you find this article helpful in any way. Make sure to share your thoughts and queries in the comment section below.  </p>



<p>Read More:</p>



<ul class="wp-block-list"><li><a href="https://www.technig.com/tag/dhcp-powershell-commands/" target="_blank" rel="noreferrer noopener">DHCP PowerShell Commands</a>. </li><li><a href="https://technig.com/see-wi-fi-password-on-windows-11/" target="_blank" rel="noreferrer noopener">How To See Wi-Fi Password On Windows 11?</a></li><li><a href="https://technig.com/bypass-windows-11-requirements/">How To Bypass Windows 11 Requirements?</a></li></ul>
<p>The post <a href="https://www.technig.com/configure-dns-forwarder-conditional-forwarder-in-server-2022/">Configure DNS Forwarder and DNS Conditional Forwarder in Server 2022</a> appeared first on <a href="https://www.technig.com">TECHNIG</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.technig.com/configure-dns-forwarder-conditional-forwarder-in-server-2022/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">17789</post-id>	</item>
		<item>
		<title>Install DNS in Server 2022 using Server Manager and Powershell</title>
		<link>https://www.technig.com/install-dns-using-server-manager-and-powershell/</link>
					<comments>https://www.technig.com/install-dns-using-server-manager-and-powershell/#respond</comments>
		
		<dc:creator><![CDATA[Danish]]></dc:creator>
		<pubDate>Tue, 26 Apr 2022 10:18:00 +0000</pubDate>
				<category><![CDATA[MCSA]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[DNS]]></category>
		<category><![CDATA[DNS Feature]]></category>
		<category><![CDATA[DNS PowerShell Commands]]></category>
		<category><![CDATA[DNS Server]]></category>
		<category><![CDATA[DNS Service]]></category>
		<category><![CDATA[Install DNS]]></category>
		<category><![CDATA[Install DNS using PowerShell]]></category>
		<category><![CDATA[Remove DNS Using PowerShell]]></category>
		<category><![CDATA[Windows PowerShell]]></category>
		<category><![CDATA[Windows Server 2022]]></category>
		<guid isPermaLink="false">https://www.technig.com/?p=17605</guid>

					<description><![CDATA[<div style="margin-bottom:20px;"><img width="1221" height="694" src="https://www.technig.com/wp-content/uploads/2022/04/Feature-Image-Final-1.jpg" class="attachment-post-thumbnail size-post-thumbnail wp-post-image" alt="Install DNS Service in Server 2022 Using Window PowerShell and Server Manager" decoding="async" loading="lazy" srcset="https://www.technig.com/wp-content/uploads/2022/04/Feature-Image-Final-1.jpg 1221w, https://www.technig.com/wp-content/uploads/2022/04/Feature-Image-Final-1-300x171.jpg 300w, https://www.technig.com/wp-content/uploads/2022/04/Feature-Image-Final-1-1024x582.jpg 1024w, https://www.technig.com/wp-content/uploads/2022/04/Feature-Image-Final-1-768x437.jpg 768w" sizes="(max-width: 1221px) 100vw, 1221px" /></div>
<p>Domain Name System or DNS for short is a fundamental service that resolves names/services to IP addresses and sometimes vice versa. It is a key service that must be running in every network. The very first configuration regarding this topic is installing its capability on the server. Then, there are bundles of configurations and settings [&#8230;]</p>
<p>The post <a href="https://www.technig.com/install-dns-using-server-manager-and-powershell/">Install DNS in Server 2022 using Server Manager and Powershell</a> appeared first on <a href="https://www.technig.com">TECHNIG</a>.</p>
]]></description>
										<content:encoded><![CDATA[<div style="margin-bottom:20px;"><img width="1221" height="694" src="https://www.technig.com/wp-content/uploads/2022/04/Feature-Image-Final-1.jpg" class="attachment-post-thumbnail size-post-thumbnail wp-post-image" alt="Install DNS Service in Server 2022 Using Window PowerShell and Server Manager" decoding="async" loading="lazy" srcset="https://www.technig.com/wp-content/uploads/2022/04/Feature-Image-Final-1.jpg 1221w, https://www.technig.com/wp-content/uploads/2022/04/Feature-Image-Final-1-300x171.jpg 300w, https://www.technig.com/wp-content/uploads/2022/04/Feature-Image-Final-1-1024x582.jpg 1024w, https://www.technig.com/wp-content/uploads/2022/04/Feature-Image-Final-1-768x437.jpg 768w" sizes="(max-width: 1221px) 100vw, 1221px" /></div>
<p>Domain Name System or <a href="https://docs.microsoft.com/en-us/windows-server/networking/dns/dns-top" target="_blank" rel="noreferrer noopener">DNS </a>for short is a fundamental service that resolves names/services to IP addresses and sometimes vice versa. It is a key service that must be running in every network. The very first configuration regarding this topic is installing its capability on the server. Then, there are bundles of configurations and settings to understand and care about. So, as a beginner article regarding DNS, this article covers how to install DNS in Windows Server 2022 using both Server Manager and PowerShell tools. </p>



<p>You may also like to read: <a href="https://www.technig.com/install-and-configure-dhcp-using-powershell-in-windows-server-2022/" target="_blank" rel="noreferrer noopener nofollow">Install And Configure DHCP In Windows Server 2022 Using PowerShell</a>.</p>



<h2 class="wp-block-heading">Install DNS Using Server Manager</h2>



<p>Using Server Manager is a user-friendly and easy method to install roles, including DNS, in Windows Server Operating Systems. We just graphically navigate through the options and install it. The steps are listed below. </p>



<p><strong>1. </strong>Open <strong>Server Manager</strong> console. It is present in the <strong>Start Menu</strong> by default. If it is not, search for it. </p>



<div class="wp-block-image"><figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="696" height="479" src="https://www.technig.com/wp-content/uploads/2022/04/1-5.jpg" alt="Opening Server Manager in Windows Server 2022" class="wp-image-17608" srcset="https://www.technig.com/wp-content/uploads/2022/04/1-5.jpg 696w, https://www.technig.com/wp-content/uploads/2022/04/1-5-300x206.jpg 300w" sizes="(max-width: 696px) 100vw, 696px" /><figcaption>Opening Server Manager in Windows Server 2022</figcaption></figure></div>



<p><strong>2. </strong>On the <strong>Server Manager</strong> console, click on <strong>Manage</strong> in the top-right corner. Then, select <strong>Add Roles and Features</strong> option. </p>



<div class="wp-block-image"><figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="638" height="289" src="https://www.technig.com/wp-content/uploads/2022/04/2-10.jpg" alt="Add roles and features using Server Manger" class="wp-image-17609" srcset="https://www.technig.com/wp-content/uploads/2022/04/2-10.jpg 638w, https://www.technig.com/wp-content/uploads/2022/04/2-10-300x136.jpg 300w" sizes="(max-width: 638px) 100vw, 638px" /><figcaption>Add roles and features using Server Manager</figcaption></figure></div>



<p><strong>3. </strong>On the <strong>Before You Being</strong> page, just click on <strong>Next </strong>to continue. Choose the <strong>Role-based or feature-based installation</strong> option on Installation Type. Then, click on the <strong>Next </strong>button. </p>



<div class="wp-block-image"><figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="786" height="560" src="https://www.technig.com/wp-content/uploads/2022/04/3-6.jpg" alt="Choosing Installation Type for the Role" class="wp-image-17610" srcset="https://www.technig.com/wp-content/uploads/2022/04/3-6.jpg 786w, https://www.technig.com/wp-content/uploads/2022/04/3-6-300x214.jpg 300w, https://www.technig.com/wp-content/uploads/2022/04/3-6-768x547.jpg 768w" sizes="(max-width: 786px) 100vw, 786px" /><figcaption>Choosing Installation Type for the Role</figcaption></figure></div>



<p><strong>4.</strong> On the <strong>Server Selection</strong> section, choose the server on which you want to install DNS and click on the <strong>Next </strong>button, afterwards. </p>



<div class="wp-block-image"><figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="784" height="560" src="https://www.technig.com/wp-content/uploads/2022/04/4-6.jpg" alt="Selecting the Server to Install the DNS Service on it" class="wp-image-17611" srcset="https://www.technig.com/wp-content/uploads/2022/04/4-6.jpg 784w, https://www.technig.com/wp-content/uploads/2022/04/4-6-300x214.jpg 300w, https://www.technig.com/wp-content/uploads/2022/04/4-6-768x549.jpg 768w" sizes="(max-width: 784px) 100vw, 784px" /><figcaption>Selecting the Server to Install the DNS Service on it</figcaption></figure></div>



<p><strong>5. </strong>In this step, check out the <strong>DNS Serve</strong>r checkbox option on the <strong>Server Roles</strong> section. Click on <strong>Add Features</strong> on the next window that pops up. Finally, click on <strong>Next</strong>. </p>



<div class="wp-block-image"><figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="784" height="560" src="https://www.technig.com/wp-content/uploads/2022/04/5-8.jpg" alt="Selecting DNS Role to Install " class="wp-image-17612" srcset="https://www.technig.com/wp-content/uploads/2022/04/5-8.jpg 784w, https://www.technig.com/wp-content/uploads/2022/04/5-8-300x214.jpg 300w, https://www.technig.com/wp-content/uploads/2022/04/5-8-768x549.jpg 768w" sizes="(max-width: 784px) 100vw, 784px" /><figcaption>Selecting DNS Role to Install </figcaption></figure></div>



<p><strong>6.</strong> Click on <strong>Next </strong>on both <strong>Features </strong>and<strong> DNS Server</strong> wizards. On the <strong>Confirmation </strong>window, check out the option for the Restart if it needs to during the DNS role installation. And, finally, click on the <strong>Install </strong>button. See the picture below.  </p>



<div class="wp-block-image"><figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="783" height="559" src="https://www.technig.com/wp-content/uploads/2022/04/6-6.jpg" alt="Confirming DNS Role Installation on Server" class="wp-image-17613" srcset="https://www.technig.com/wp-content/uploads/2022/04/6-6.jpg 783w, https://www.technig.com/wp-content/uploads/2022/04/6-6-300x214.jpg 300w, https://www.technig.com/wp-content/uploads/2022/04/6-6-768x548.jpg 768w" sizes="(max-width: 783px) 100vw, 783px" /><figcaption>Confirming DNS Role Installation on Server</figcaption></figure></div>



<p><strong>7.</strong> Wait for a few moments until the DNS role installation completes. Once completed, click on the <strong>Close </strong>button in the <strong>Result </strong>section. </p>



<div class="wp-block-image"><figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="784" height="555" src="https://www.technig.com/wp-content/uploads/2022/04/7-5.jpg" alt="DNS Installation Result Screen" class="wp-image-17615" srcset="https://www.technig.com/wp-content/uploads/2022/04/7-5.jpg 784w, https://www.technig.com/wp-content/uploads/2022/04/7-5-300x212.jpg 300w, https://www.technig.com/wp-content/uploads/2022/04/7-5-768x544.jpg 768w" sizes="(max-width: 784px) 100vw, 784px" /><figcaption>DNS Installation Result Screen</figcaption></figure></div>



<p>As simple as the above steps, we have installed the DNS Server in Windows Server 2022 using Server Manager. Now, if you open the <strong>Tools </strong>menu on the Server Manager console, you will observe the DNS is present there.</p>



<h2 class="wp-block-heading">Install DNS using Windows PowerShell </h2>



<p>Using <strong>Windows PowerShell</strong> is always a preferred and professional method of accomplishing such tasks. Besides other benefits, it takes us less time. Now, let&#8217;s dive into the brief steps to install DNS using the Windows PowerShell tool. </p>



<p><strong>1. </strong>Open <strong>Windows PowerShell</strong> as administrator. To do so, go to the <strong>Start Menu</strong>, right-click on it and choose <strong>Run as Administrator</strong>. You can also open it using the Run dialogue box by using <code>powershell</code>as command. </p>



<div class="wp-block-image"><figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="790" height="510" src="https://www.technig.com/wp-content/uploads/2022/04/1-3.jpg" alt="Opening Windows PowerShell as administrator " class="wp-image-17469" srcset="https://www.technig.com/wp-content/uploads/2022/04/1-3.jpg 790w, https://www.technig.com/wp-content/uploads/2022/04/1-3-300x194.jpg 300w, https://www.technig.com/wp-content/uploads/2022/04/1-3-768x496.jpg 768w, https://www.technig.com/wp-content/uploads/2022/04/1-3-210x136.jpg 210w" sizes="(max-width: 790px) 100vw, 790px" /><figcaption>Opening Windows PowerShell as an administrator</figcaption></figure></div>



<p><strong>2. </strong>Once you have opened the PowerShell tool, check the DNS if it is available to install. To check the DNS, use the <code>Get-WindowsFeature DNS</code> command. As you can see in the picture below, it is available to install. </p>



<div class="wp-block-image"><figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="978" height="181" src="https://www.technig.com/wp-content/uploads/2022/04/8-5.jpg" alt="Check DNS Status Using PowerShell Command" class="wp-image-17616" srcset="https://www.technig.com/wp-content/uploads/2022/04/8-5.jpg 978w, https://www.technig.com/wp-content/uploads/2022/04/8-5-300x56.jpg 300w, https://www.technig.com/wp-content/uploads/2022/04/8-5-768x142.jpg 768w" sizes="(max-width: 978px) 100vw, 978px" /><figcaption>Checking DNS Feature Status Using PowerShell Command</figcaption></figure></div>



<p><strong>3. </strong>To install DNS run <code>Install-WindowsFeature DNS -IncludeManagementTools</code> PowerShell command. Then, wait for a while until it finishes the installation process. </p>



<div class="wp-block-image"><figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="978" height="183" src="https://www.technig.com/wp-content/uploads/2022/04/9-5.jpg" alt="Install DNS Using Windows PowerShell Command" class="wp-image-17617" srcset="https://www.technig.com/wp-content/uploads/2022/04/9-5.jpg 978w, https://www.technig.com/wp-content/uploads/2022/04/9-5-300x56.jpg 300w, https://www.technig.com/wp-content/uploads/2022/04/9-5-768x144.jpg 768w" sizes="(max-width: 978px) 100vw, 978px" /><figcaption>Install DNS Using Windows PowerShell Command</figcaption></figure></div>



<p><strong>4. </strong>Now that we have installed DNS, once more, run <code>Get-WindowsFeature</code> DNS PowerShell command to verify the installation. You can see in the below picture that it is installed. </p>



<div class="wp-block-image"><figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="977" height="173" src="https://www.technig.com/wp-content/uploads/2022/04/10-3.jpg" alt="Verify DNS State Using Windows PowerShell Command " class="wp-image-17618" srcset="https://www.technig.com/wp-content/uploads/2022/04/10-3.jpg 977w, https://www.technig.com/wp-content/uploads/2022/04/10-3-300x53.jpg 300w, https://www.technig.com/wp-content/uploads/2022/04/10-3-768x136.jpg 768w" sizes="(max-width: 977px) 100vw, 977px" /><figcaption>Verify DNS State Using Windows PowerShell Command </figcaption></figure></div>



<p><strong>5. </strong>It is also the right point to mention how we can uninstall DNS using Windows PowerShell. To uninstall it, run <code>Remove-WindowsFeature DNS</code> PowerShell command. Wait for a moment until it completes the operation. You will receive a message to restart the server if it needs to. you can restart the server using <code>Restart-Computer</code> PowerShell command. </p>



<div class="wp-block-image"><figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="976" height="258" src="https://www.technig.com/wp-content/uploads/2022/04/11-3.jpg" alt="Uninstalling DNS Using Windows PowerShell Command" class="wp-image-17619" srcset="https://www.technig.com/wp-content/uploads/2022/04/11-3.jpg 976w, https://www.technig.com/wp-content/uploads/2022/04/11-3-300x79.jpg 300w, https://www.technig.com/wp-content/uploads/2022/04/11-3-768x203.jpg 768w" sizes="(max-width: 976px) 100vw, 976px" /><figcaption>Uninstalling DNS Using Windows PowerShell Command</figcaption></figure></div>



<p>That is it. We learned how to install and uninstall the DNS in Windows Server 2022 using Windows PowerShell. </p>



<h2 class="wp-block-heading">Summery</h2>



<p>To summarize this article, we have walked through a step-by-step guide on how to install DNS service in Windows Server 2022 using Server Manager and Windows Powershell tools. We covered a detailed illustration to install DNS using Server Manager, first. Then, in a separate section, we discussed the PowerShell commands to install, verify and uninstall DNS in Server 2022. </p>



<p>In the end, I hope you find this article helpful. If you have any further questions, do not hesitate to share us in the comment section. </p>
<p>The post <a href="https://www.technig.com/install-dns-using-server-manager-and-powershell/">Install DNS in Server 2022 using Server Manager and Powershell</a> appeared first on <a href="https://www.technig.com">TECHNIG</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.technig.com/install-dns-using-server-manager-and-powershell/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">17605</post-id>	</item>
	</channel>
</rss>
