Course 20741 Modulo 4 Lab C
Course 20741 Modulo 4 Lab C
Scenario
You want to make DNS zone management easier. You want to configure DNS policies in
Windows Server 2016, so that users in different geographical areas can connect to a different
web server. You must then test and troubleshoot the DNS configuration that you have created.
2. At the Windows PowerShell command prompt, type the following cmdlets, and press Enter after
each cmdlet:
Add-DnsServerClientSubnet -Name "UKSubnet" -IPv4Subnet "172.16.0.0/24"
Add-DnsServerClientSubnet -Name "CanadaSubnet" -IPv4Subnet "172.16.18.0/24"
Add-DnsServerZoneScope -ZoneName "Adatum.com" -Name "UKZoneScope"
Add-DnsServerZoneScope -ZoneName "Adatum.com" -Name "CanadaZoneScope"
Add-DnsServerResourceRecord -ZoneName "Adatum.com" -A -Name "www" -
IPv4Address "172.16.0.41" -ZoneScope "UKZoneScope"
Add-DnsServerResourceRecord -ZoneName "Adatum.com" -A -Name "www" -
IPv4Address "172.16.18.17" -ZoneScope "CanadaZoneScope"
Add-DnsServerQueryResolutionPolicy -Name "UKPolicy" -Action ALLOW -
ClientSubnet "eq,UKSubnet" -ZoneScope "UKZoneScope,1" -ZoneName "Adatum.com"
Add-DnsServerQueryResolutionPolicy -Name "CanadaPolicy" -Action ALLOW -
ClientSubnet "eq,CanadaSubnet" -ZoneScope "CanadaZoneScope,1" -ZoneName
Adatum.com
Task 3: Check DNS name resolution after configuring DNS policies
1. Switch to LON-CL1.
2. While still on LON-CL1, In the Administrator: Command Prompt window, type the following
two commands, and press Enter after each command:
ipconfig /flushdns
nslookup www.adatum.com
3. You should get the result 172.16.0.41.
4. On the host computer, in the Hyper-V Manager console, right-click 20741B-LON-CL2 and select
Settings.
5. In the Settings for 20741B-LON-CL2 window, select the Network Adapter, London_Network.
6. In the details pane, in the Virtual switch drop down, select NA_WAN, and then click OK.
7. Right-click 20741B-LON-CL2 and select Start, and then right-click 20741B-LON-CL2 again and
then select Connect.
8. When the 20741B-LON-CL2 virtual machine completes start up, sign in as Administrator with a
password of Pa55w.rd.
9. On the Notification area of the Taskbar, right-click the Network icon, and select Open Network
and Sharing Center.
10. In the Network and Sharing Center window, click the London_Network hyperlink.
11. In the London_Network Properties, select the Internet Protocol Version 4 (TCP/IPv4) item,
and then click Properties.
12. In the Internet Protocol Version 4 (TCP/IPv4) Properties, change the IP address field to
172.16.18.51, and the Default gateway field to 172.16.18.1, then click OK and then Close twice.
13. Start, and then, in the list of Apps, scroll down and click Windows PowerShell folder, and then
click Windows PowerShell item.
14. In the Windows PowerShell window, type the cmdlets, and press Enter after each one:
Ipconfig /flushdns
Nslookup www.adatum.com
15. You should get a result of 172.16.18.17.
16. In the 20741B-LON-CL2 on host Virtual Machine Connection window, click the Revert icon.