Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

iTechGuides is reader-supported. When you buy through links on our site, we may earn an affiliate commission. As an Amazon Associate I earn from qualifying purchases. Learn more

Read this guide to learn how to install AD DS and DNS roles in Windows Server 2022, and configure a Windows Active Directory domain.

Setup Overview

In this guide, I will create lab.infopressmedia.com AD domain for my home lab. The Domain Controller is a VMware VM with the specs specified in the table below.

VM NameCPURAMHard Disk
IPMvDC12 cores4 GB90 GB

Here are the details of the VM’s network configuration

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Host NameIP AddressFQDN
IPMvDC1192.168.0.81IPMvDC1.lab.infopressmedia.com

The sections below detail the steps to configure a new AD DS domain using Windows Server 2022 Standard.

Popular on Amazon
Sale
Tecmojo 12U Open Frame Network Rack for IT & AV Gear, AV Rack Floor Standing or Wall Mounted,with 2 PCS 1U Rack Shelves & Mounting Hardware,Network Rack for 19" Networking,Audio and Video Device
  • 【Powerful Load-bearing】12U Network Rack Open Frame is constructed from durable cold rolled steel; Rack shelf supports enhance stability, wall-mounted capacity of 130lbs, the ground-mounted up to 260lbs
  • 【Considerate Designs】Open-frame layout, including a top panel adding space, anti-slip shelf stops fixing devices and compatible racks for stack and expansion to meet requirements of home server rack
  • 【Complete Accessories】A 12U open frame server rack, two ventilated shelves, four shelf stops, four velcro straps and a set of equipment mounting screws
  • 【Versatile Application】Ideal for space-efficient multi-device setups in warehouses, retail, classrooms, offices and more; Excellent choices as AV Rack/IT Rack
  • 【Effortless Setup】 Network Rack includes hardware, a comprehensive manual, mounting hole drilling template and an online assembly video to simplify setup

Step 1: Install Windows Server 2022

The task of installing Windows Server 2022 is pretty straightforward. So, I’ll not provide a step-by-step guide. If you need help with this section, read my guide, How to Install and Configure Windows Server 2022 Core.

The guide in the above link is for installing a Windows Server 2022 Cor (No GUI). To install the Server with GUI, select the Desktop Experience option in the Select Image section of the installation.

After installing the Operating System, rename the Server on the OS, assign it a static IP address, change Time Zone, and install Windows Updates.

Once you finish with this boring section, let’s get to the main actions in the proceeding sections!

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Step 2: Install AD DS and DNS Roles

  1. Sign in to the server and open PowerShell as administrator.
  2. Then, install the Active Directory Domain Service and DNS roles with the command below
Install-WindowsFeature -Name AD-Domain-Services, DNS -IncludeManagementTools -IncludeAllSubFeature

Step 3: Configure DNS for AD DS

Before promoting the server to a Domain Controller and creating the AD domain, you must configure DNS. Follow the steps in these subsections to get your DNS ready.

Also popular on Amazon
StarTech 42U 4-Post Open Frame Rack, 19in, 22-40in, 1323lb/600kg | Mobile or floor mount IT rack, Cage nuts & screws, U & depth markings, Cable management, 80.3in tall
  • ADJUSTABLE DEPTH: 4-Post 42U open frame server rack with 4 vertical rails and adjustable mounting depth 22" to 40" (56,0cm to 101,7cm); Compatible with various servers / switches / data / AV and other IT equipment; EIA/ECA-310-E Compliant
  • EASY ASSEMBLY: Mobile network rack with easy-to-follow assembly instructions and online video; Compact flat-pack shipping to avoid damage and facilitate installation; Total product height of 80.3in (204 cm) with casters, 78in (198cm) without casters
  • COLD ROLLED STEEL: Durable 4 Post 19in open frame rack designed for ventilation with 42U mounting height and 1320lb (600kg) weight capacity (stationary); 3 install options included: casters, levelling feet, or base-plate to secure rack to the floor
  • HARDWARE INCLUDED: Rolling computer/data rack includes cage nuts and screws to mount equipment, easy to read Units (U) and depth adjustment markings, cable management hooks for organization, and required assembly tools
  • THE IT PRO'S CHOICE: Designed and built for IT Professionals, this 42U rack is backed for 2-years, including free lifetime 24/5 multi-lingual technical assistance

Step 3.1: Create a Forward Lookup Zone

  1. From Server Manager: Tools > DNS open the DNS manager.
Create a Forward Lookup Zone - open DNS Manager from Server Manager
  1. Then, expand the server name, right-click Forward Lookup Zones, and choose New Zone. On the welcome page, click Next.
Then, expand the server name, right-click Forward Lookup Zones and choose New Zone.
  1. After that, on the Zone Type page, select Primary zone.
  1. On the Zone Name field, enter the fully qualified domain name of the AD domain you will create later. Then, accept the default zone file name on the next page.
On the Zone Name field, enter the fully qualified domain name of the AD domain you will create later.
Then, accept the default zone file name on the next page.
  1. Then, on the Dynamic Updates page, accept the default – Do not allow dynamic updates.
Then, on the Dynamic Updates page, accept the default - Do not allow dynamic updates.
  1. Finally, review your selections and settings and click Finish to create the forward lookup zone.

Step 3.2: Create a Reverse Lookup Zone

  1. Right-click Reverse Lookup Zones and select New Zone. Then, click Next on the welcome page.
Right-click Reverse Lookup Zones and select New Zone.
  1. After that, choose Primary zone. Then, IPv4 Reverse Lookup Zone.
After that, choose Primary zone. Then, IPv4 Reverse Lookup Zone.
  1. On the Reverse Lookup Zone Name, enter the Network ID portion of the IP address of the server – mine is 192.168.0. On the Zone file name page, accept the default.
On the Reverse Lookup Zone Name, enter the Network ID portion of the IP address of the server
  1. Then, choose the “Do not allow dynamic updates” option on the next page, then create the reverse lookup zone.

Step 3.3: Configure Forwarder

For the DNS server to resolve internet addresses, configure a forwarder on the DNS Manager with these steps:

  1. From the DNS Manager, right-click the Server and choose Properties.
From the DNS Manager, right-click the Server and choose Properties.
  1. Then, on the Forwarders tab, click Edit, then enter 8.8.8.8, and press Enter to load the entry. After that, enter 8.8.4.4 and press enter.

When you finish, click OK. DO NOT close the server’s Properties sheet as you will need it in the remaining subsections below.

8.8.8.8 and 8.8.4.4 are Google’s public DNS servers. My DNS server will use these to resolve internet DNS names.
Then, on the Forwarders tab, click Edit

Step 3.4: Configure DNS Interfaces

Click the Interfaces tab, and choose Only the following IP address. After that, check the IPv4 address and uncheck the IPv6 addresses.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

To save all the changes you have made, click OK (bottom left of the Properties sheet).

Also popular on Amazon
VEVOR 12U Open Frame Server Rack Network Rack 23-40 in Adjustable Depth | Free Standing or Wall Mount, Heavy Duty 4 Post, with 4 Casters, Holds All 19'' Networking IT Equipment AV Gear Router Modem
  • Adjustable Depth: 23-40'' adjustable depth is used for servers and network equipment, ensuring enough space for AV equipment, components, and cabling, while allowing you to access ports and equipment from multiple sides.
  • Strong Load Capacity: Ground-Mounted Load Capacity: 500 lbs, Wall-Mounted Load Capacity: 150 lbs. The av rack is made of carbon steel for better weldability performance and can help save space while meeting your need to place multiple devices.
  • User-friendly Design: Ergonomic design makes the open frame av rack easier to use. The additional top panel is able to place other items with more available space. Roller design moves anywhere and anytime, is convenient, and is more energy-saving.
  • Complete Accessories: We provide the accessories you need, including 2 x Pallets, 145 x M5*10 Cross Head Screws, 4 x Casters, 4 x M10*50 Expansion Screws,10 x M6*12 Cage Nuts, 1 x Grounding Wire, 1 x User Manual.
  • Wide Application: The server rack wall mount maximizes the use of available space, suitable for retail venues, classrooms, offices, and other places where space is limited.
Click the Interfaces tab, and choose Only the following IP address. After that, check the IPv4 address and uncheck the IPv6 addresses

Step 3.5: Create the Server’s Host A Record

  1. To create a Host A record, right-click the Forward Lookup zone in DNS Manager, and choose Host (A or AAA) Record.
  1. Then, enter the name and IP address of the new server – ensure that the Create associate pointer (PTA) record checkbox is checked – then, click Add Host.
Then, enter the name and IP address of the new server - ensure that the Create associate pointer (PTA) record checkbox is checked - then, click Add Host.

Step 3.6: Configure the Server’s DNS Address

To set the server to use its IP address, open PowerShell as administrator and run this command.

Get-NetAdapter | Set-DnsClientServerAddress -ServerAddresses 192.168.0.81

Step 3.7: Configure Name Servers

  1. Right-click the forward lookup zone and select Properties.
Right-click the forward lookup zone and select Properties.
  1. Click the Name servers tab, the server should be selected, and click Edit. Then, enter the FQDN of the server and click Resolve – the IP address of the server should display – click OK.
Click the Name servers tab, the server should be selected, click Edit.
Then, enter the FQDN of the server and click Resolve - the IP address of the server should display - click OK.
  1. Click the Start of Authority (SOA) tab, then use the Browse button to select the server’s name.
Click the Start of Authority (SOA) tab, then use the Browse button to select the server's name.
  1. Finally, click OK to save the changes and close the zone’s properties sheet. If prompted to confirm that you want to delete the original record, click Yes.
Finally, click OK to save the changes and close the zone's properties sheet.

Repeat steps 1 to 4 for the reverse lookup zone.

Step 4: Create an Active Directory Domain

  1. Open Server Manager, then, click the post-installation task icon and select Promote this server to a domain controller.
Open Server Manager, then, click the post-installation task icon and select Promote this server to a domain controller.
  1. Then, first page of the wizard, select the Add a new forest option and enter the Forest root domain – the domain name you want to configure. After that, click Next to load the next page.
Then, first page of the wizard, enter the Add a new forest option and enter the Forest root domain - the new domain name you want to configure.
  1. Enter the password of the domain’s administrator account.
Enter the password of the domain's administrator account.
  1. On the DNS Options page, ignore the zone delegation warning and click Next. On the Additional Options page, the NetBIOS name will be selected automatically.
On the Additional Options page, the NetBIOS name will be selected automatically.
  1. Accept the default paths for the Database, Log files, and SYSVOL folders.
Accept the default paths for the Database, Log files, and SYSVOL folders.
  1. Review your selections and click Next – the wizard will run pre-promotion checks. If all prerequisite checks pass, click Install and wait for the server to be promoted to a DC.
Review your selections and click Next - the wizard will run pre-promotion checks.

Step 5: Reconfigure the DNS Zone

After deploying Ad, you must reconfigure the DNS zone type to an Active Directory-integrated zone, and perform some other configurations.

Follow the steps below to complete these tasks.

  1. Open the DNS manager, then right-click the forward lookup zone you created earlier and select Properties.
  2. On the General tab, click the Change button, next to the zone Type.
On the General tab, click the Change button, next to the zone Type.
  1. Then, on the Zone Type pop-up, check the “Store the zone in Active Directory” checkbox and click OK. Click Yes to confirm the action.

The zone type will now become Active Directory-integrated and Replication will be set to All DNS servers in the domain.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
The zone type will now become Active Directory-integrated and Replication will be set to All DNS servers in the domain.

The final step is to configure the zone to allow only Secure Dynamic updates. To change the settings, click the Dynamic updates drop-down and choose Secure only.

Also popular on Amazon
AxcessAbles 12U Rack with Wheels, 19-Inch Small Server and Audio Rack | Homelab, recording studio, DJ and amp gear, steel frame, locking casters, mounting screws and 1U blank panel included
  • Fits Standard 19-Inch Gear: Mount servers, switches, routers, patch panels and NAS units in a space-saving 12U rack for a homelab, home office or network closet. Also works as a studio or AV rack for mixers, interfaces, preamps and power amps.
  • Rolls Where You Need It: 3-inch industrial casters come installed and two of them lock, so the rack rolls into place and stays put. Assembled size is 18" x 20" x 27.5" with the casters on.
  • 1.5mm Steel Frame: The 36 lb frame uses 1.5mm steel for less vibration and long-term durability. The open design gives easy cable access and good airflow, unlike an enclosed cabinet.
  • Setup Kit Included: Comes with 34 rack screws (5mm and 6mm), a 1U blank panel and an assembly tool, so you can start loading gear as soon as it is built.
  • Rated for Heavy Gear: Supports up to 440 lb on the casters and 550 lb without them. Backed by a 1 year manufacturer warranty.

Finally, to save your changes and close the zone’s properties sheet, click OK.

Repeat the steps in this section for the Reverse Lookup zone.
Repeat the steps in this section for the Reverse Lookup zone.

The steps in this section changed the DNS zone type from Primary to Active Directory-integrated. Secondly, the zone is set to replicate to all DNS servers in the domain – which is the default and recommended configuration for AD-integrated zones.

Finally, we set up the zone to allow only Secure Dynamic updates. This allows domain-joined computers to update their IP addresses in the DNS zone – it is the recommended setting for Active Directory-integrated DNS zones.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Step 6: Disable IPv6 on the Net Adapter

  1. From Server Manager, click the Local Server node, then, click the link next to the network adapter.
  1. Then, double-click the adapter on the “Control Panel\Network and Internet\Network Connections” screen.
Then, double-click the adapter on the "Control Panel\Network and Internet\Network Connections" screen.
  1. When the adapter properties sheet opens, click Properties, uncheck “Internet Protocol Version 6 (TCP/IPv6)” and click OK.
When the adapter properties sheet opens, click Properties, uncheck "Internet Protocol Version 6 (TCP/IPv6)" and click OK.

Step 7: Add the Domain to the DNS Zone

For computers on the network to be able to join the domain, you must add it as a record on the DNS zone. To do this:

Also popular on Amazon
VEVOR 9U Open Frame Server Rack Network Rack 23-40 in Adjustable Depth | Free Stand or Wall Mount, with 2Pcs 1U Rack Shelves & 4 Casters, Holds All 19'' Networking IT Equipment AV Gear Router Modem
  • Adjustable Depth: Depth adjustable from 23" to 40", this open frame server rack accommodates servers and network equipment while providing ample space for A/V gears and cable management. Enjoy easy access to ports and devices from multiple angles.
  • High Weight Capacity: Supports up to 300 lbs on the floor (200 lbs when adjusted to maximum depth) and 200 lbs when wall-mounted (depth cannot be adjusted in wall-mounted mode). Made from carbon steel for superior welding performance and durability, this open frame rack is designed to save space while accommodating multiple devices.
  • User-Friendly Design: Designed with your convenience in mind, this open frame server rack features an top shelf for extra storage and improved space utilization. The rolling casters let you move it effortlessly wherever you need it, making setup and movement a breeze.
  • Widely Applicable: Maximize your space with this adaptable open frame server rack, designed to make the most of every inch. Ideal for retail spots, classrooms, offices, and any area where space is at a premium, it delivers practical solutions for your storage needs.
  • Everything You Need: Our open-frame rack comes with fully equipped accessory kit for easy setup and secure installation: 2 x Trays, 4 x Casters, 1 x set of Screws, 16 x M6*12 Cage Nuts, 1 x Grounding Wire, 1 x Internal & External Hex Wrenches, and 1 x User Manual.
  1. Right-click the zone and choose New Domain.
  1. Then, enter the FQDN of the domain and click OK.
Then, enter the FQDN of the domain and click OK.

After adding the Domain to the DNS zone, when you refresh the zone, additional records like – _msdcs, _sites, _tcp, etc – would have been added.

After adding the Domain to the DNS zone, when you refresh the zone, additional records like - _msdcs, _sites, _tcp, etc - would have been added.

Step 8: Join Computers to the Domain

Before joining a computer to your new domain, you must change the DNS server to the DC’s IP address.

To join a computer to the domain:

  1. Search advanced system settings and open it from the search results
  2. Then, click the Computer Name tab and then, the Change button.
Then, click the Computer Name tab and then, the Change button.
  1. Then, choose the Domain option, enter the FQDN of the domain, and click OK.
Then, choose the Domain option, enter the FQDN of the domain, and click OK.
  1. Finally, enter the username and password for an account with the permission to add computers to the domain and click OK.

After a few seconds, you should receive a “welcome to <domain name>” message – click OK. Then, when prompted, restart the computer.

Finally, enter the username and password for an account with the permission to add computers to the domain and click OK.

Conclusion

Setting up a new Active Directory domain is pretty simple. However, it requires going through specific steps which includes proper DNS configuration.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

In this guide, I explained the steps you need to deploy the first Domain Controller in an AD Forest, thereby creating a new Active Directory Domain.

I’m confident that you found this guicde helpful but I will still want to hear from you. Let me know your thoughts by responding to the “Was this page helpful?” feedback request below.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply. Prices as of November 24, 2026 5:40 am GMT.