Recommended Free Tools
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 Name | CPU | RAM | Hard Disk |
|---|---|---|---|
| IPMvDC1 | 2 cores | 4 GB | 90 GB |
Here are the details of the VM’s network configuration
| Host Name | IP Address | FQDN |
|---|---|---|
| IPMvDC1 | 192.168.0.81 | IPMvDC1.lab.infopressmedia.com |
The sections below detail the steps to configure a new AD DS domain using Windows Server 2022 Standard.
Popular on Amazon
- 【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.
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!
Windows Errors? Fix Them Before They Spread
Repair common Windows errors and clear accumulated junk for a smoother, more stable PC - no reinstall needed.Free scan · no reinstallOutdated Drivers Are Slowing You Down
One free scan finds every outdated or missing driver and matches the right update for your exact hardware.Free scan · exact hardware matchStep 2: Install AD DS and DNS Roles
- Sign in to the server and open PowerShell as administrator.
- 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
- 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
- From Server Manager: Tools > DNS open the DNS manager.

- Then, expand the server name, right-click Forward Lookup Zones, and choose New Zone. On the welcome page, click Next.

- After that, on the Zone Type page, select Primary zone.

- 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.


- Then, on the Dynamic Updates page, accept the default – Do not allow dynamic updates.

- Finally, review your selections and settings and click Finish to create the forward lookup zone.

Step 3.2: Create a Reverse Lookup Zone
- Right-click Reverse Lookup Zones and select New Zone. Then, click Next on the welcome page.

- After that, choose Primary zone. Then, IPv4 Reverse Lookup Zone.

- 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.

- 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:
- From the DNS Manager, right-click the Server and choose Properties.

- 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.


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.
To save all the changes you have made, click OK (bottom left of the Properties sheet).
Also popular on Amazon
- 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.

Step 3.5: Create the Server’s Host A Record
- To create a Host A record, right-click the Forward Lookup zone in DNS Manager, and choose Host (A or AAA) Record.

- 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
- Right-click the forward lookup zone and select Properties.

- 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 Start of Authority (SOA) tab, then use the Browse button to select the server’s name.

- 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.

Repeat steps 1 to 4 for the reverse lookup zone.
Step 4: Create an Active Directory Domain
- Open Server Manager, then, click the post-installation task icon and select Promote this server to a domain controller.

- 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.

- Enter the password of the domain’s administrator account.

- 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.


- Accept the default paths for the Database, Log files, and SYSVOL folders.

- 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.


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.
- Open the DNS manager, then right-click the forward lookup zone you created earlier and select Properties.
- On the General tab, click the Change button, next to the zone Type.

- 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.

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
- 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.


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.
Quick wins for a faster PC:
Clear out junk files and repair common Windows errorsFree Scan →Fix the driver behind crashes, sound loss and screen glitchesFind Drivers →Step 6: Disable IPv6 on the Net Adapter
- From Server Manager, click the Local Server node, then, click the link next to the network adapter.

- Then, double-click the adapter on the “Control Panel\Network and Internet\Network Connections” screen.

- 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
- 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.
- Right-click the zone and choose New Domain.

- 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.

Step 8: Join Computers to the Domain
To join a computer to the domain:
- Search advanced system settings and open it from the search results
- Then, click the Computer Name tab and then, the Change button.

- Then, choose the Domain option, enter the FQDN of the domain, and click OK.

- 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.

Conclusion
Setting up a new Active Directory domain is pretty simple. However, it requires going through specific steps which includes proper DNS configuration.
Do these 3 things before closing this tab:
1Repair Windows errors before they cause bigger problems2Scan for outdated or missing drivers - takes under a minute3Clear out junk files and repair common Windows errorsIn 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.

