Blog

How you can Setup a Home windows Server 2022 AD Area (Step-by-step)

by | Aug 4, 2024 | Gadgets

[ad_1]

Learn this information to learn to set up AD DS and DNS roles in Home windows Server 2022, and configure a Home windows Lively Listing area.

Setup Overview

On this information, I’ll create lab.infopressmedia.com AD area for my house lab. The Area Controller is a VMware VM with the specs specified within the desk under.

VM Title CPU RAM Onerous Disk
IPMvDC1 2 cores 4 GB 90 GB

Listed below are the main points of the VM’s community configuration

Host Title IP Tackle FQDN
IPMvDC1 192.168.0.81 IPMvDC1.lab.infopressmedia.com

The sections under element the steps to configure a brand new AD DS area utilizing Home windows Server 2022 Customary.

Step 1: Set up Home windows Server 2022

The duty of putting in Home windows Server 2022 is fairly easy. So, I’ll not present a step-by-step information. In case you need assistance with this part, learn my information, How you can Set up and Configure Home windows Server 2022 Core.

The information within the above hyperlink is for putting in a Home windows Server 2022 Cor (No GUI). To put in the Server with GUI, choose the Desktop Expertise possibility within the Choose Picture part of the set up.

After putting in the Working System, rename the Server on the OS, assign it a static IP deal with, change Time Zone, and set up Home windows Updates.

When you end with this boring part, let’s get to the principle actions within the continuing sections!

Step 2: Set up AD DS and DNS Roles

  1. Sign up to the server and open PowerShell as administrator.
  2. Then, set up the Lively Listing Area Service and DNS roles with the command under
Set up-WindowsFeature -Title AD-Area-Providers, DNS -IncludeManagementTools -IncludeAllSubFeature

Step 3: Configure DNS for AD DS

Earlier than selling the server to a Area Controller and creating the AD area, it’s essential to configure DNS. Observe the steps in these subsections to get your DNS prepared.

Step 3.1: Create a Ahead Lookup Zone

  1. From Server Supervisor: Instruments > DNS open the DNS supervisor.
Create a Forward Lookup Zone - open DNS Manager from Server Manager
Create a Forward Lookup Zone - open DNS Manager from Server Manager
  1. Then, increase the server title, right-click Ahead Lookup Zones, and select New Zone. On the welcome web page, click on Subsequent.
Then, expand the server name, right-click Forward Lookup Zones and choose New Zone. Then, expand the server name, right-click Forward Lookup Zones and choose New Zone.
  1. After that, on the Zone Kind web page, choose Main zone.
  1. On the Zone Title subject, enter the absolutely certified area title of the AD area you’ll create later. Then, settle for the default zone file title on the subsequent web page.
On the Zone Name field, enter the fully qualified domain name of the AD domain you will create later.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, accept the default zone file name on the next page.
  1. Then, on the Dynamic Updates web page, settle for the default – Don’t enable dynamic updates.
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. Lastly, overview your picks and settings and click on End to create the ahead lookup zone.

Step 3.2: Create a Reverse Lookup Zone

  1. Proper-click Reverse Lookup Zones and choose New Zone. Then, click on Subsequent on the welcome web page.
Right-click Reverse Lookup Zones and select New Zone. Right-click Reverse Lookup Zones and select New Zone.
  1. After that, select Main zone. Then, IPv4 Reverse Lookup Zone.
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 Title, enter the Community ID portion of the IP deal with of the server – mine is 192.168.0. On the Zone file title web page, settle for the default.
On the Reverse Lookup Zone Name, enter the Network ID portion of the IP address of the serverOn the Reverse Lookup Zone Name, enter the Network ID portion of the IP address of the server
  1. Then, select the “Don’t enable dynamic updates” possibility on the subsequent web page, then create the reverse lookup zone.

Step 3.3: Configure Forwarder

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

  1. From the DNS Supervisor, right-click the Server and select Properties.
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 on Edit, then enter 8.8.8.8, and press Enter to load the entry. After that, enter 8.8.4.4 and press enter.

While you end, click on OK. DO NOT shut the server’s Properties sheet as you’ll need it within the remaining subsections under.

8.8.8.8 and eight.8.4.4 are Google’s public DNS servers. My DNS server will use these to resolve web DNS names.

Then, on the Forwarders tab, click EditThen, on the Forwarders tab, click Edit

Step 3.4: Configure DNS Interfaces

Click on the Interfaces tab, and select Solely the next IP deal with. After that, examine the IPv4 deal with and uncheck the IPv6 addresses.

To avoid wasting all of the adjustments you will have made, click on OK (backside left of the Properties sheet).

Click the Interfaces tab, and choose Only the following IP address. After that, check the IPv4 address and uncheck the IPv6 addressesClick 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 Report

  1. To create a Host A file, right-click the Ahead Lookup zone in DNS Supervisor, and select Host (A or AAA) Report.
  1. Then, enter the title and IP deal with of the brand new server – be sure that the Create affiliate pointer (PTA) file checkbox is checked – then, click on 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.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 Tackle

To set the server to make use of its IP deal with, open PowerShell as administrator and run this command.

Get-NetAdapter | Set-DnsClientServerAddress -ServerAddresses 192.168.0.81

Step 3.7: Configure Title Servers

  1. Proper-click the ahead lookup zone and choose Properties.
Right-click the forward lookup zone and select Properties. Right-click the forward lookup zone and select Properties.
  1. Click on the Title servers tab, the server must be chosen, and click on Edit. Then, enter the FQDN of the server and click on Resolve – the IP deal with of the server ought to show – click on OK.
Click the Name servers tab, the server should be selected, click Edit. 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. Then, enter the FQDN of the server and click Resolve - the IP address of the server should display - click OK.
  1. Click on the Begin of Authority (SOA) tab, then use the Browse button to pick out the server’s title.
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. Lastly, click on OK to avoid wasting the adjustments and shut the zone’s properties sheet. If prompted to verify that you simply need to delete the unique file, click on Sure.
Finally, click OK to save the changes and close the zone's properties sheet. Finally, click OK to save the changes and close the zone's properties sheet.

Step 4: Create an Lively Listing Area

  1. Open Server Supervisor, then, click on the post-installation activity icon and choose Promote this server to a site controller.
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 web page of the wizard, choose the Add a brand new forest possibility and enter the Forest root area – the area title you need to configure. After that, click on Subsequent to load the subsequent web 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. 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 area’s administrator account.
Enter the password of the domain's administrator account. Enter the password of the domain's administrator account.
  1. On the DNS Choices web page, ignore the zone delegation warning and click on Subsequent. On the Extra Choices web page, the NetBIOS title will probably be chosen mechanically.
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. Settle for the default paths for the Database, Log recordsdata, and SYSVOL folders.
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. Overview your picks and click on Subsequent – the wizard will run pre-promotion checks. If all prerequisite checks move, click on Set up and look forward to the server to be promoted to a DC.
Review your selections and click Next - the wizard will run pre-promotion checks.Review your selections and click Next - the wizard will run pre-promotion checks.

Step 5: Reconfigure the DNS Zone

After deploying Advert, it’s essential to reconfigure the DNS zone sort to an Lively Listing-integrated zone, and carry out another configurations.

Observe the steps under to finish these duties.

  1. Open the DNS supervisor, then right-click the ahead lookup zone you created earlier and choose Properties.
  2. On the Normal tab, click on the Change button, subsequent to the zone Kind.
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 Kind pop-up, examine the “Retailer the zone in Lively Listing” checkbox and click on OK. Click on Sure to verify the motion.

The zone sort will now change into Lively Listing-integrated and Replication will probably be set to All DNS servers within the area.

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

The ultimate step is to configure the zone to permit solely Safe Dynamic updates. To alter the settings, click on the Dynamic updates drop-down and select Safe solely.

Lastly, to avoid wasting your adjustments and shut the zone’s properties sheet, click on OK.

Repeat the steps on this part for the Reverse Lookup zone.

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

The steps on this part modified the DNS zone sort from Main to Lively Listing-integrated. Secondly, the zone is ready to copy to all DNS servers within the area – which is the default and really useful configuration for AD-integrated zones.

Lastly, we arrange the zone to permit solely Safe Dynamic updates. This permits domain-joined computer systems to replace their IP addresses within the DNS zone – it’s the really useful setting for Lively Listing-integrated DNS zones.

Step 6: Add the Area to the DNS Zone

For computer systems on the community to have the ability to be part of the area, it’s essential to add it as a file on the DNS zone. To do that:

  1. Proper-click the zone and select New Area.
  1. Then, enter the FQDN of the area and click on OK.
Then, enter the FQDN of the domain and click OK. Then, enter the FQDN of the domain and click OK.

After including the Area to the DNS zone, whenever you refresh the zone, extra information like – _msdcs, _sites, _tcp, and many others – 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. 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 7: Be part of Computer systems to the Area

Earlier than becoming a member of a pc to your new area, it’s essential to change the DNS server to the DC’s IP deal with.

To hitch a pc to the area:

  1. Search superior system settings and open it from the search outcomes
  2. Then, click on the Laptop Title tab after which, the Change button.
Then, click the Computer Name tab and then, the Change button. Then, click the Computer Name tab and then, the Change button.
  1. Then, select the Area possibility, enter the FQDN of the area, and click on OK.
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. Lastly, enter the username and password for an account with the permission so as to add computer systems to the area and click on OK.

After just a few seconds, you need to obtain a “welcome to <area title>” message – click on OK. Then, when prompted, restart the pc.

Finally, enter the username and password for an account with the permission to add computers to 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.

Conclusion

Establishing a brand new Lively Listing area is fairly easy. Nevertheless, it requires going by means of particular steps which incorporates correct DNS configuration.

On this information, I defined the steps you want to deploy the primary Area Controller in an AD Forest, thereby creating a brand new Lively Listing Area.

I’m assured that you simply discovered this guicde useful however I’ll nonetheless need to hear from you. Let me know your ideas by responding to the “Was this web page useful?” suggestions request under.

[ad_2]

Laubeau Jac Lawrance

Laubeau Jac Lawrance

Your content goes here. Edit or remove this text inline or in the module Content settings. You can also style every aspect of this content in the module Design settings and even apply custom CSS to this text in the module Advanced settings.