microsoft offical course 20410c_07

32
Microsoft ® Official Course Module 7 Implementing DNS

Upload: gameaxt

Post on 17-Aug-2015

67 views

Category:

Education


12 download

TRANSCRIPT

Page 1: Microsoft Offical Course 20410C_07

Microsoft® Official Course

Module 7

Implementing DNS

Page 2: Microsoft Offical Course 20410C_07

Module Overview

Name Resolution for Windows Clients and Servers

Installing a DNS Server•Managing DNS Zones

Page 3: Microsoft Offical Course 20410C_07

Lesson 1: Name Resolution for Windows Clients and Servers

What Are the Computer Names Assigned to Computers?

What Is DNS?

DNS Zones and Records

How Internet DNS Names Are Resolved

What Is Split DNS?

What Is Link-local Multicast Name Resolution?

How a Client Resolves a Name

Troubleshooting Name Resolution•Demonstration: Troubleshooting Name Resolution

Page 4: Microsoft Offical Course 20410C_07

What Are the Computer Names Assigned to Computers?

A hostname is a computer name that is added to a domain name and top level to make a fully qualified domain name (FQDN)

Hostname

AcctDirPC

Domain

adatum

Top level

com

Fully qualified domain name = AcctDirPC.adatum.com

NetBIOS names are rarely used and are being deprecated in Windows operating systems

Page 5: Microsoft Offical Course 20410C_07

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 Offical Course 20410C_07

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 Offical Course 20410C_07

How Internet DNS Names Are Resolved

.root DNS

Microsoft.com DNS

.com DNS

What is the IP address of

www.microsoft.com?

1

23

4Workstation

Local DNS Server

5

The IP address is207.46.230.219

Page 8: Microsoft Offical Course 20410C_07

What Is Split DNS?

• External ADI DNS servers host only records that are resolved from the outside: mail and web server• Internal DNS servers host domain computer records, plus mail and web server in a perimeter subnet

Internal domain

servers and computers

Internal Active

Directory-integrated-DNS server

External DNS Server, mail server,

and web server

1 2 3

Page 9: Microsoft Offical Course 20410C_07

What Is Link-local 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 10: Microsoft Offical Course 20410C_07

How a Client Resolves a Name

NetBIOS Name Cache

WINS Server

BroadcastDNS Resolver Cache/Hosts file content

Local Host Name

LMHosts File

DNS Server

1

2

3

LLMNR

45

6

7

8

Page 11: Microsoft Offical Course 20410C_07

Troubleshooting Name Resolution

A new Windows PowerShell DNS module with numerous cmdlets was introduced with Windows Server 2012• More cmdlets were added with Windows Server

2012 R2

Command-line tools to troubleshoot configuration issues:• Nslookup• DNSCmd• Dnslint• Ipconfig

The troubleshooting process:

1. Identify client DNS server with nslookup or Resolve-DnsName

2. Communicate via ping3. Use nslookup to verify records

Page 12: Microsoft Offical Course 20410C_07

Demonstration: Troubleshooting Name Resolution

In this demonstration, you will see how to:•Use Windows PowerShell cmdlets to troubleshoot DNS•Use command-line tools to troubleshoot DNS

Page 13: Microsoft Offical Course 20410C_07

Lesson 2: Installing 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 14: Microsoft Offical Course 20410C_07

What Are the Components of a DNS Solution?

DNS Servers on the InternetDNS ServersDNS Resolvers

Resource Record

Resource Record

Root “.”

.com

.edu

Page 15: Microsoft Offical Course 20410C_07

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 16: Microsoft Offical Course 20410C_07

What Are DNS Queries?

• Queries are recursive or iterative

• DNS clients and DNS servers initiate queries

• DNS servers are authoritative or non-authoritative for a namespace

• An authoritative DNS server for the namespace either: Returns the requested IP address Returns an authoritative “No, that name does not exist”

• A non-authoritative DNS server for the namespace either: Checks its cache Uses forwarders Uses root hints

Page 17: Microsoft Offical Course 20410C_07

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

Local DNS server

Page 18: Microsoft Offical Course 20410C_07

What Are DNS Queries?

Client

LocalDNS server

Recursive querymail1.contoso.com

172.16.64.11Root hint

(.)

.com

contoso.com

Iterative query

Ask .com

Iterative query

Authoritative response

Iterative query

Ask contoso.com

Page 19: Microsoft Offical Course 20410C_07

What Is Forwarding?

Client

Recursive querymail1.contoso.com

Root hint (.)

.com

contoso.com

Iterative query

Ask .com

Iterative query

Authoritative response

Iterative query

Ask contoso.com

LocalDNS server

131.107.0.11

Forwarder

Recursive query

131.107.0.11

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

Page 20: Microsoft Offical Course 20410C_07

What Is Forwarding?

Conditional forwarding forwards requests using a domain name condition

Client

Query for www.contoso.com Local

DNS server

contoso.com DNS

ISP DNS

contoso.com

All Other DNS Domains

Page 21: Microsoft Offical Course 20410C_07

Client1

Client2 Server

A

Where is ServerA?

ServerA is at 131.107.0.44

Where is ServerA?

ServerA is at 131.107.0.44

How DNS Server Caching Works

DNS server cache

Host name IP address TTL

ServerA.contoso.com

131.107.0.44

28 seconds

Page 22: Microsoft Offical Course 20410C_07

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 23: Microsoft Offical Course 20410C_07

Demonstration: Installing the DNS Server Role

In this demonstration, you will see how to:

• Install a second DNS server

• Create a forward lookup zone by using Windows PowerShell

• Configure forwarding

Page 24: Microsoft Offical Course 20410C_07

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 25: Microsoft Offical Course 20410C_07

What Are DNS Zone Types?

Zones Description

Primary Read/write copy of a DNS database

Secondary Read-only copy of a DNS database

Stub Copy 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 26: Microsoft Offical Course 20410C_07

What Are Dynamic Updates?

1. The client sends an SOA query

2. The DNS server returns an SOA resource record

3. The client sends dynamic update request(s) to identify the primary DNS server

5. The DNS server responds that it can perform an update

6. The client sends unsecured update to the DNS server

7. If the zone permits only secure updates, the update is refused

8. The client sends a secured update to the DNS server

Resource Records

DNS Server

1 2 3 4 5 6 7

Client

Page 27: Microsoft Offical Course 20410C_07

What Are Active Directory–Integrated Zones?

Benefits of an Active Directory–integrated zone: • 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• Delegates zones, domains, resource records for increased security

Examples of contoso.com zones include:• hqdc01• filesvr01• desktop101

Page 28: Microsoft Offical Course 20410C_07

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 29: Microsoft Offical Course 20410C_07

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 machines20410C‑LON‑DC1

20410C‑LON‑SVR120410C‑LON‑CL1

User name Adatum\AdministratorPassword Pa$$w0rd

Estimated Time: 40 minutes

Page 30: Microsoft Offical Course 20410C_07

Lab Scenario

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 app that is being installed.

Finally, you need to configure forwarding on the DNS server in the branch office to support Internet name resolution.

Page 31: Microsoft Offical Course 20410C_07

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 32: Microsoft Offical Course 20410C_07

Module Review and Takeaways

Review Questions•Best Practices •Common Issues and Troubleshooting Tips•Tools