Top Banner
Microsoft ® Official Course Module 7 Implementing Domain Name System
27

Microsoft ® Official Course Module 7 Implementing Domain Name System.

Dec 17, 2015

Download

Documents

Dinah Malone
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Microsoft ® Official Course Module 7 Implementing Domain Name System.

Microsoft® Official Course

Module 7

Implementing Domain Name System

Page 2: Microsoft ® Official Course Module 7 Implementing Domain Name System.

Module Overview

Name Resolution for Windows Clients and Servers

Installing and Managing a DNS Server•Managing DNS Zones

Page 3: Microsoft ® Official Course Module 7 Implementing Domain Name System.

Lesson 1: Name Resolution for Windows Clients and Servers

What Are Computer Names?

What Is DNS?

DNS Zones and Records

How Internet DNS Names Are Resolved

What Is LinkLocal Multicast Name Resolution?

How a Client Resolves a Name•Troubleshooting Name Resolution

Page 4: Microsoft ® Official Course Module 7 Implementing Domain Name System.

What Are Computer Names?

Name Description

Host name

• Up to 255 characters long• Can contain alphabetic and

numeric characters, periods, and hyphens

• Part of FQDN

NetBIOS name

• Represent a single computer or group of computers

• 15 characters used for the name

• 16th character identifies service

• Flat namespace

Page 5: Microsoft ® Official Course Module 7 Implementing Domain Name System.

What Is DNS?

DNS can be used to:

•Resolve host names to IP addresses

•Locate domain controllers and global catalog servers

•Resolve IP addresses to host names

•Locate mail servers during email delivery

Page 6: Microsoft ® Official Course Module 7 Implementing Domain Name System.

DNS Zones and Records

A DNS zone is a specific portion of DNS namespace that contains DNS records

Zone types:• Forward lookup zone• Reverse lookup zone

Resource records in forward lookup zones include:• A, MX, SRV, NS, SOA, and CNAME

Resource records in reverse lookup zones include:• PTR

Page 7: Microsoft ® Official Course Module 7 Implementing Domain Name System.

How Internet DNS Names Are Resolved

Workstation

207.46.230.219

Local DNS server

What is the IP address of

www.microsoft.com?

Root DNS server

.com DNS server

Microsoft.com

DNS server

Page 8: Microsoft ® Official Course Module 7 Implementing Domain Name System.

What Is LinkLocal Multicast Name Resolution?

LLMNR is an additional method for name resolution that does not use DNS or WINS

• LLMNR is designed for IPv6

• Works only on Windows Vista, Windows Server 2008, and all newer Windows operating systems

• Network Discovery must be enabled

• Can be controlled via Group Policy

Page 9: Microsoft ® Official Course Module 7 Implementing Domain Name System.

How a Client Resolves a Name

5. NetBIOS Name Cache

6. WINS Server

7. Broadcast

2. DNS Resolver Cache / Hosts file content

1. Local Host Name

8. Lmhosts File

3. DNS Server

4. LLMNR

Page 10: Microsoft ® Official Course Module 7 Implementing Domain Name System.

Troubleshooting Name Resolution

Common tools for troubleshooting name resolution are:

• Consider using the new cmdlets in Windows PowerShell to manage and troubleshoot DNS

• Always clear DNS resolver cache before troubleshooting

•Use the hosts file for troubleshooting

• Isolate problem

•Nslookup•Dnscmd•Dnslint

• Ipconfig•DNS Server Monitoring

Page 11: Microsoft ® Official Course Module 7 Implementing Domain Name System.

Lesson 2: Installing and Managing a DNS Server

What Are the Components of a DNS Solution?

What Are Root Hints?

What Are DNS Queries?

What Is Forwarding?

How DNS Server Caching Works

How to Install the DNS Server Role•Demonstration: Installing the DNS Server Role

Page 12: Microsoft ® Official Course Module 7 Implementing Domain Name System.

What Are the Components of a DNS Solution?

DNS Servers on the Internet

DNS Servers

DNS Resolvers

ResourceRecord

Root “.”

.com

.edu

ResourceRecord

Page 13: Microsoft ® Official Course Module 7 Implementing Domain Name System.

What Are Root Hints?

microsoft

DNS Servers

DNS Server

com

Client

Root Hints

Root (.) Servers

Root hints contain the IP addresses for DNS root servers

Page 14: Microsoft ® Official Course Module 7 Implementing Domain Name System.

What Are DNS Queries?

DNS client

mail1.contoso.com

172.16.64.11

A recursive query is sent to a DNS server and requires a complete answer

Database

Local DNS server

An iterative query directed to a DNS server may be answered with a referral to another DNS server

client

Local DNS server

Root hint (.)

.com

Rec

urs

ive

quer

y

mai

l1.c

onto

so.c

om172.1

6.6

4.1

1

Iterative query

Iterative query

Iterative query

Ask .com

Ask contoso.comAuthoritative response

contoso.com

• Queries are recursive or iterative• DNS clients and DNS servers initiate queries• DNS servers are authoritative or

nonauthoritative for a namespace• An authoritative DNS server for the namespace

will either:• Return the requested IP address• Return an authoritative “No”

• A nonauthoritative DNS server for the namespace will either:

• Check its cache• Use forwarders• Use root hints

Page 15: Microsoft ® Official Course Module 7 Implementing Domain Name System.

What Is Forwarding?

ISP DNS

All other DNS domainsLocal DNS

contoso.com DNS

contoso.com

Que

ry fo

r

ww

w.c

onto

so.c

om

Conditional forwarding forwards requests using a domain name condition

Client compute

r

A forwarder is a DNS server designated to resolve external or offsite DNS domain names

contoso.com

Root hint (.)

.com

Iterative query

Iterative query

Iterative query

Ask .com

Ask contoso.com

Authoritative response

Forwarder

Recursive query for mail1.contoso.com

131.107.0.11

131.

107.

0.11

Recu

rsiv

e qu

ery

Local DNS server client

Page 16: Microsoft ® Official Course Module 7 Implementing Domain Name System.

Where’s ServerA?

ServerA is at 131.107.0.44

Where’s ServerA?

ServerA is at 131.107.0.44

How DNS Server Caching Works

Client1

Client2

ServerA

DNS server cache

Host name IP address TTL

ServerA.contoso.com

131.107.0.44

28 seconds

Page 17: Microsoft ® Official Course Module 7 Implementing Domain Name System.

How to Install the DNS Server Role

DNS Server Installation Methods• Server Manager • Active Directory Domain Services Installation Wizard

Tools available to manage DNS Server• DNS Manager Snap-In• Server Manager• DNS Manager console (dnsmgmt.msc)

• DNSCmd command-line tool• Windows Powershell• Remote Server Administrative tools

Page 18: Microsoft ® Official Course Module 7 Implementing Domain Name System.

Demonstration: Installing the DNS Server Role

In this demonstration, you will see how to:

• Install a second DNS server

• Configure forwarding

Page 19: Microsoft ® Official Course Module 7 Implementing Domain Name System.

Lesson 3: Managing DNS Zones

What Are DNS Zone Types?

What Are Dynamic Updates?

What Are Active Directory–Integrated Zones?•Demonstration: Creating an Active Directory–Integrated Zone

Page 20: Microsoft ® Official Course Module 7 Implementing Domain Name System.

What Are DNS Zone Types?

Zones Description

Primary Read/write copy of a DNS database

Secondary Read-only copy of a DNS database

StubCopy of a zone that contains only records used to locate name servers

Active Directory– integrated

Zone data is stored in AD DS rather than in zone files

Page 21: Microsoft ® Official Course Module 7 Implementing Domain Name System.

What Are Dynamic Updates?1. Client sends SOA query2. DNS server returns SOA resource record3. Client sends dynamic update request(s) to

identify the primary DNS server4. DNS server responds that it can perform

update 5. Client sends unsecured update to DNS server

6. If zone permits only secure updates, update is refused

7. Client sends secured update to DNS server

Resource Records

DNS Server

1 2 3 4 5 6 7

Page 22: Microsoft ® Official Course Module 7 Implementing Domain Name System.

What Are Active Directory–Integrated Zones?Benefits of an Active Directory–integrated zone include: • Allows multimaster writes to zone• Replicates DNS zone information by using AD DS replication• Leverages efficient replication topology• Uses efficient incremental updates for Active

Directory replication processes• Enables secure dynamic updates• Security: Can delegate zones, domains, resource records

contoso.com• hqdc01• filesvr01• desktop101

zone

Page 23: Microsoft ® Official Course Module 7 Implementing Domain Name System.

Demonstration: Creating an Active Directory–Integrated Zone

In this demonstration, you will see how to:

• Promote a server as a domain controller

• Create an Active Directory–integrated zone

• Create a record

• Verify replication to a second DNS server

Page 24: Microsoft ® Official Course Module 7 Implementing Domain Name System.

Lab: Implementing DNS

Exercise 1: Installing and Configuring DNS

Exercise 2: Creating Host Records in DNS•Exercise 3: Managing the DNS Server Cache

Logon InformationVirtual machines 20410B‑LON‑DC1

20410B‑LON‑SVR120410B‑LON‑CL1

User name Adatum\AdministratorPassword Pa$$w0rd

Estimated Time: 40 minutes

Page 25: Microsoft ® Official Course Module 7 Implementing Domain Name System.

Lab Scenario

A. Datum Corporation has an IT office and data center in London, which supports the London location and other locations. A. Datum has recently deployed a Windows 2012 Server infrastructure with Windows 8 clients. You need to configure the infrastructure service for a new branch office.

Your manager has asked you to configure the domain controller in the branch office as a DNS server. You have also been asked to create some new host records to support a new application that is being installed. Finally, you need to configure forwarding on the DNS server in the branch office to support Internet name resolution.

Page 26: Microsoft ® Official Course Module 7 Implementing Domain Name System.

Lab Review

Can you install the DNS server role on a server that is not a domain controller? If yes, are there any limitations?

What is the most common way to carry out Internet name resolution on a local DNS?•How can you browse the content of the DNS resolver cache on a DNS server?

Page 27: Microsoft ® Official Course Module 7 Implementing Domain Name System.

Module Review and Takeaways

Review Questions

Tools

Best Practice•Common Issues and Troubleshooting Tips