Sign up to access this lesson
Click here to sign up and get access to this lesson!

Saving Progress...
Scenario
There is a company called Server Academy, that markets online IT courses.
The company has two locations one in Canada and one in the US.
Corporate in the US has asked that customers coming in from the US would be directed to the US site, and customers coming in from Canada would be directed to the Canadian site.
How would you implement this?
Please note: This is an example of policy creation that is based upon the settings in this example. Your settings will be different and based upon your infrastructure.
Here an example of DNS Name Resolution
A user called US client tries to access the site www.sa.com.
This results in a DNS name resolution request sent to the Local DNS server.
This local server doesn’t know about www.sa.com, so the local DNS server forwards the query to the server that is Authoritative for www.sa.com.
The sa.com server responds back to the Local DNS server with the A record for
www.sa.com, which then caches the response, then sends the A record to the US client Computer.
Because the DNS server that is authoritative for sa.com has been configured using a Network Traffic Management Policy based upon location.
This results in US Clients being directed to the US Data Center and the Canadian
customers being directed to the Canadian data center.
We’ll Follow these four Steps when creating our Traffic Management Policy
- Step #1, DNS Client Subnets - A client subnet is an object that represents an IPv4 or IPv6 subnet.
You will configure one client subnet for each location.
- Step #2, Zone Scopes - A Zone Scope is a method of partitioning or dividing a DNS zone. You will configure two Zone scopes, one for each location.
- Step #3, Add resource Records – We will be adding A- host records to each Zone Scope
- Step #4, Create DNS Policies – In this example, we will create two Query Resolution Policies. Which determines how DNS queries are handled by the criteria that you specify in the policy.
Now Let’s jump over to our DNS server and open server manager. Click Tools, then DNS manager. What I wanted to show you was for the server ITFDC01, there hasn’t been a forward lookup zone created yet. So, that’s the first thing we are going to do using Powershell.
Let’s go ahead and open PowerShell and create our policy.
As we discussed in our example, there are four steps we’ll need to complete to create our
policy. So, I have created a script with all the commands to create our Traffic Management policy
What we have here is our four steps.
- Step 1 This command creates our client subnets
- Step 2 This command creates the zonescopes
- Step 3 This command will add our A records to each zonescope
- Step 4 This command will create the policies.
As we talked about before we need to create a primary zone called sa.com
- Add-DnsServerPrimaryZone -Name sa.com -ZoneFile sa.com.dns
- Which is located on the DNS server in windows DNS server in C:\windows\system32\dns
Step 1 Creating DNS Client Subnets
This command creates the client subnet’s for the US subnet.
- Add-DnsServerClientSubnet – Name “USSubnet” – Ipv4Subnet “192.168.3.0/24”
Now we’ll create a client subnet for the Canadian subnet
To create the client subnet’s for the Canadian subnet, use this command
- Add-DnsServerClientSubnet – Name “CASubnet” – Ipv4Subnet “192.168.17.0/24”
Step 2 This command creates the Zone Scope’s for the US side.
Sign up to access the rest of this lesson
You must either log in or sign up to access this lesson.
CURRICULUM
Course Introduction • 10min
0 / 2 lessons complete
Instructor and Course Introduction
Video | 7 min
What's New in Windows Server 2016 DNS
Free lesson
Video | 3 min
DNS Basics • 56min
0 / 8 lessons complete
What is DNS
Video | 3 min
Installing the DNS Windows Server Role
Video | 6 min
Building DNS Server Quiz
Quiz | 10 Questions
The Hosts File
Video | 4 min
DNS Console Overview
Video | 7 min
Recursive and Iterative Queries
Video | 8 min
DNS Basics LAB
Video | 10 min
DNS Basics Quiz
Quiz | 8 Questions
DNS Resource Records • 45min
0 / 5 lessons complete
DNS Resource Record Types
Video | 3 min
Creating the mytestzone Forward Lookup Zone
Text | 2 min
Creating DNS Resource Records
Video | 4 min
Creating DNS Resource Records Lab
Lab | 30 min
DNS Resource Records Quiz
Quiz | 7 Questions
DNS Zones • 4hr 11min
0 / 12 lessons complete
DNS Zones
Video | 4 min
Creating a Forward and Reverse Lookup Zone
Video | 5 min
Creating a Secondary Zones
Video | 9 min
Stub Zone Creation
Video | 11 min
Active Directory Zone Replication
Video | 12 min
Implementing DNS Forwarding
Video | 8 min
Implementing Conditional DNS Forwarding
Video | 7 min
Forward and Reverse Zone Creation Lab
Lab | 60 min
Creating a Secondary Zone Lab
Lab | 30 min
Conditional Forwarding Lab
Lab | 60 min
Creating a Stub Zone Lab
Lab | 30 min
DNS Zones Quiz
Quiz | 15 Questions
DNS Delegation • 50min
0 / 4 lessons complete
Domain Name System and DNS Delegation
Video | 7 min
Windows 2016 Server and DNS Zone Delegation
Video | 8 min
DNS Delegation Lab
Lab | 30 min
QUIZ - Domain Name System and DNS Delegation
Quiz | 5 Questions
DNS Security Techniques • 36min
0 / 5 lessons complete
DNS Security Techniques Overview
Video | 9 min
Configuring DNS Cache Locking
Video | 5 min
Configuring DNS Socket Pools
Video | 6 min
Configuring Response Rate Limiting
Video | 8 min
DNS Security Techniques Quiz
Quiz | 8 Questions
Advanced DNS Topics • 22min
0 / 5 lessons complete
Overview of Advanced Topics
Video | 1 min
Enabling Round Robin and Netmask Ordering
Video | 5 min
Configuring Recursion
Video | 4 min
IPV4 and IPV6 Root HInts
Video | 6 min
Advanced DNS Topics Quiz
Quiz | 6 Questions
DNS Security (DNSSEC) • 1hr 16min
0 / 6 lessons complete
Windows DNS Security Overview
Video | 7 min
Symmetric vs Asymmetric Encryption
Video | 5 min
Installing DNSSEC on Windows 2016 Server
Video | 12 min
DNSSEC Client Install
Video | 7 min
DNSSEC (DNS Security Lab)
Lab | 30 min
DNSSEC Quiz
Quiz | 15 Questions
DNS Policies • 55min
0 / 6 lessons complete
DNS Policies Background Information
Video | 8 min
Configuring DNS Filtering
Video | 7 min
Configuring Split Brain DNS in an Active Directory Environment
Video | 12 min
Configuring DNS Selective Recursion Policy
Video | 7 min
Configuring a Traffic Management Policy
Video | 11 min
DNS Policies Quiz
Quiz | 10 Questions
PowerShell for DNS • 1hr 27min
0 / 6 lessons complete
PowerShell for DNS Part 1
Video | 2 min
PowerShell for DNS Part 2
Video | 5 min
PowerShell for DNS Part 3
Video | 10 min
PowerShell for DNS Part 4
Video | 5 min
PowerShell for DNS LAB
Lab | 60 min
Powershell for DNS Quiz
Quiz | 5 Questions
Troubleshooting DNS Issues - Troubleshooting Tools • 1hr 39min
0 / 8 lessons complete
Troubleshooting Tools Every IT Pro Must Know
Video | 9 min
The Events Viewer Overview
Video | 6 min
Subscriptions
Video | 9 min
Monitoring and Debug Logging
Video | 9 min
Trouble-Shooting DNS Client Issues
Video | 4 min
Troubleshooting Subscriptions Lab
Lab | 30 min
DNS Troubleshooting Lab
Lab | 30 min
DNS Troubleshooting Quiz
Quiz | 2 Questions