You are on page 1of 41

LAB 1.

2 : Configuring Domain Name System (DNS) with Active


Directory in Windows Server Environment

After Import Windows Server 2019 into Vmware.


We need to unlock the Server.

Press Ctrl + Alt + Insert to unlock

Enter Password Skills39


1.0 Rename the VM into DC

Right Click on Server and rename into DC


2.0 Setup the VM network
2.1 VM Virtual Network Editor
Click Edit (On Vmware workstation) > Virtual Network Editor

Click Change Setting

Click Remove Network (to clear all available VM network)


Click Add Network > Vmnet 0
Makesure tick on Host-Only and uncheck use local DHCP
Apply and OK

Click Add Network > Vmnet 1


Makesure tick on Host-Only and uncheck use local DHCP
Apply and OK
2.2 Connect VM (DC) to VMnet
Click VM > Setting

Click On Network Adapter > Select connection to Custom - Vmnet0 > OK

Now your DC (Windows Server 2019) has connected to Vmnet0 network.


2.3 Connect VM (CLIENT1) to VMnet
Click VM > Setting

Click On Network Adapter > Select connection to Custom - Vmnet0 > OK

Now your CLIENT1 (Windows10) has connected to Vmnet0 network.


3.0 Setup IP Address
3.1 Setup VMnet0 IP address

Please find your vmnet0 network adapter on your physical computer/laptop.


Makesure that you are on the physical computer desktop.
Press Windows + R
Enter ncpa.cpl > OK
Right Click on Vmware Network Adapter VMnet0 > Properties

Click properties on Internet Protocol version 4 / ipv4

Enter the following IP addreses > OK > OK

This will be the 10.70.1.1 Default gateway Address of your 10.70.1.0/24 network
3.2 Setup DC IP Address

Makesure that you are on the DC.


Press Windows + R
Enter ncpa.cpl > OK
Right click on Ethernet0 > Rename into Ethernet0_lan

Right Click Ethernet0_lan > Properties


Uncheck the Internet protocol Version 6 / ipv6
Select Internet protocol version 4 / ipv4 > properties
Enter to following IP Address > OK > OK

Yes

Now DC has establish the connection on vmnet0 network.


Ping IP Default Gateway to test the connection.
Press Windows + R
Type cmd

Ping IP Default Gateway 10.70.1.1 to test the connection.


3.3 Setup CLIENT1 IP Address
Makesure that you are on the CLIENT1.
Click Resume if CLIENT1 is paused

Enter Password Skills39


Makesure that you are on the CLIENT1.
Press Windows + R
Enter ncpa.cpl > OK

Right Click On Ethernet0 > Properties


Select Internet protocol version 4 / ipv4 > properties
Enter to following IP Address > OK > OK
Yes

Now CLIENT1 has establish the connection on vmnet0 network.


Ping Default Gateway and DC to test the connection
4.0 Change DC Host name

Search This PC > Right Clich on This PC > Properties


Click on Change Setting

Click on Change

Change the Name into DC

Click OK and Restart


5.0 Setup DNS Services on DC
5.1 Installing DNS Services

Open Server Manager

Click Manage > Add Roles and Features


Check on Actice Directory Domain Services (ADDS) and DNS Server

Click Add Features


Next

Next

Check Restart > Yes


Click Install
Installation Succeded on dc
5.2 Promote DC as Domain Controller

Click Promote this server to a domain controller

Add a new forest


Enter a root domain name : wsa.net
DRSM Password
Skills40

Next
Next

Next
Next

Install

Click Close and DC will automatically restart


Login Administrator
Change the DC sign in password
Username : Administator
New Password : Skills40

Now DC has been promoted as Domain Controller.


5.3 Create an Active Directory Users

Open Server Manager


Tool > Active Directory User and Computers

Go to
Wsa.net > Users > Righclick - New User
Set Password into Skills40
Check Password never expired
Next > Finish
5.4 Configuring DNS Services on DC

Open Server Manager

Click Tool > DNS


Doubleclick on DC to expand

As u can see domain wsa.net has been created


Doubleclick on wsa.net
Host record for dc (host A) has already created.
Which means this server can resolve dc into 10.70.1.2

You can ping to dc to test


Ping dc -4
Ps: -4 is to get reply with ipv4 address
Right Click on wsa.net > New host (A) > Add Host > Done

Create a New Reverse Lookup Zones


Right click on Reverse Lookup Zones > New Zones
Next
Select Primary Zones
Next

Select Ipv4 Reverse Lookup Zones


Enter the following IP
Next

Finish

Open CMD
Enter the following command

#ipconfig /flushdns
#ipconfig /registerdns
#nslookup
>www

All the host has been resolved


6.0 Setup CLIENT1
6.1 CLIENT1 to Joint Domain wsa.net

Makesure that you are on CLIENT1.


This pc > RightClick > Properties

Change Setting
Computer name : client1
Domain : wsa.net
Login into DC

OK and Restart

Client1 Succesfully joined into wsa.net


Makesure that sign in to : WSA
Username : user1
Password : Skills40
Open CMD

Enter the following command

#ipconfig /all

#ipconfig /flushdns
#ipconfig /registerdns
#nslookup

You might also like