LAB 1.
1 : Configuring Domain Name System (DNS) 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.
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.
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 DNS Server
Next and Install.
5.2 Configuring DNS Services on DC
5.2.1 Create Forward lookup Zones of wsa.net
Forward lookup zones is help to resolved hostname into ip address
Open Server Manager
Click Tool > DNS
Doubleclick on DC to expand
Rightclick on Forward Lookup Zones > New Zones
Next
Next , enter wsa.net
Next
Next
Finish
Forward lookup zones for dc.wsa.net is created succesfully.
5.2.2 Create Reverse lookup Zones of wsa.net
Reverse lookup zones is help to resolved ip address into hostname
Rightclick on Reverse lookup zones > New Zones > Next
Next
Next
Enter 10.70.1 > Next
Next
Next and Finish
5.2.3 Create a New Records (Host A) assosiated with dns zones
Create a Host A Record for dc.
Right click on wsa.net > New Host (A or AAAA)
Name : dc
IP address : 10.70.1.2
Click Add Host
Host A records of dc.wsa.net is successfully created
Open CMD and enter this command
#ipconfig /flushdns
#ipconfig /registerdns
Open CMD and enter this command to test the dns server
#nslookup
Result will be.
Default server : dc.wsa.net
Address : 10.70.1.2
5.2.4 Create a New Records (CNAME) assosiated with dns zones
Create a CNAME Records.
Right click on wsa.net > New Alias (CNAME)
Name : www
Click Browse > DC > Forward Lookup Zones > wsa.net > dc , OK
OK
Test the CNAME record
Open CMD
Ping to www.wsa.net
When we ping to www.wsa.net and we actually get reply form dc.wsa.net and thats what
cname does. tq