Академический Документы
Профессиональный Документы
Культура Документы
Tim Rains Technical Lead - Networking Team EPS Server Platforms P.S.S. Microsoft Corporation
Iterative queries Client expects best answer from server DNS server does not query other DNS servers May refer client to another DNS server Typically sent by DNS servers, not Microsoft Windows clients
6. Response: Answer
4
Recursive queries Client expects the answer or an error DNS server may query other DNS servers Should not refer client to another DNS server Can be sent by both DNS servers and Windows clients
5
3. Response: Answer
Stub Zones
Used to maintain/improve DNS name resolution efficiency Read-only copy of a zone containing specific resource records Records in zone identify authoritative DNS servers for domain
Start of Authority (SOA) record Name Server (NS) records Glue (A) records
Administrator of stub zone cannot modify resource records Changes must be made in original primary zone
Client sends recursive query to DNS server hosting stub zone DNS server uses stub zones resource records to help resolve query Stub zone identifies authoritative DNS servers for original zone DNS server queries authoritative severs without having to find them first
Stub Zones
Iterative Query with Stub Zone
1. Iterative query for ad.reskit.local
DNS Server/Client
Not used
DNS Server B reskit.local DNS Server C ad.reskit.local
4. Response: Answer
10
4. Response: Answer
Stub zone: ad.reskit.local SOA NS - Server C A - IP of Server C
3. Response: Answer
Not Used
DNS Server A .local
Not Used
DNS Server B reskit.local DNS Server C ad.reskit.local
11
Delegate responsibility for child domain from parent domains DNS server to child domains DNS The server hosting child domain can use root hints to locate names in parent domain
The delegation must be updated manually on parent DNS server
12
Stub zone data doesnt transfer during zone transfers like delegation information does Can be dangerous to use instead of delegation If parent zone is transferred without delegation information, how will server find child zones?
13
Using stub zones in a configuration where typical delegations are enough is overkill Name server will use stub zone first and ignore the delegation Can cause confusion administering DNS
14
Use stub zones when the problem cannot be solved by using delegation Environments with disjoint namespaces may benefit using stub zones Typically contiguous namespaces will not benefit using stub zones
15
Stub zones are updated automatically There are three update options when you right-click a stub zone in DNS MMC
16
Reload
Reloads stub zone from local DNS servers own storage When standard zone it loads .dns file in Windows\system32\dns directory When Active Directory integrated it loads from Active Directory
17
Checks if stub zone has expired by examining local SOA record If SOA has expired, it performs a zone transfer from stub zones master DNS server It queries zones primary server for SOA, NS, and A resource records
18
Performs a zone transfer from stub zones master DNS server Local SOA record expiration not considered
19
20
Same concept as primary/secondary distributed zone model DNS server hosting stub zone contacts zone master for zone transfer A master server may be a primary or secondary server for actual zone
21
Can configure a list of masters for a single stub zone Use of master servers is prioritized according to their position in list
22
Permits admins to specify which master servers to transfer the stub zone from
23
Stub zones potentially have two lists of masters Default list is stored in Active Directory Administrators can also specify local master list
Stored in registry only on server where it is set Overrides list stored in Active Directory Permits a server to have list of masters different from all other servers hosting the same Active Directoryintegrated stub zone
24
Check box in GUI toggles registry value DNS server first checks for LocalMasterServers located in registry If value is missing or empty it uses MasterServers value instead Both values located in this key:
HKEY_LOCAL_MACHINE\Software\Microsoft \Windows NT\CurrentVersion\DNS Server\Zones\<zonename>
(Note that this is one registry subkey line-wrapped for readability.)
25
MasterServers value contains list of masters used by all DNS servers hosting stub zone Only stub zones with a LocalMasterServers list override MasterServers list Can also configure using dnscmd.exe
DNS server will forward any query it cant answer Checks zone data and cache then forwards
27
Windows 2000 configurable forwarder list List is global for all queries sent to DNS server
28
Forwarders are single point of failure High load and heavy lifting on forwarders Forwarders receive recursive queries Implementation is inflexible in many scenarios Good for small networks and simple namespaces
29
Conditional Forwarding
New feature in Windows Server 2003 DNS Allows forwarding to DNS servers based on queried domain name Examples - forward queries for:
30
Each domain name used for forwarding associated with a forwarders list If DNS server cant resolve name, it uses forwarders list
Checks zone data and cache for answer Then uses forwarders list to resolve
31
Conditional forwarders list Domain names associated with forwarders list Queries for reskit.local forwarded to 10.0.0.1
32
Queries for ad.reskit.local forwarded to different servers Query timeout period set for domain name in seconds Re-order server list manually
33
34
Conditional Forwarding
DNS server compares queried name to list of domain name conditions It uses longest domain name condition matching queried name
35
reskit.local ad.reskit.local
36
Query timeout period set for domain name in seconds Re-order server list manually Can disable recursion on each domain in forwarders list
37
Disabling recursion on server disables forwarders Option under Advanced tab of server properties
38
Conditional Forwarding
ForwarderSlave
ForwarderTimeout
MasterServers
Environments with disjointed namespaces may benefit Environments with namespace issues caused by perimeter network (DMZ) implementations, for example, may also benefit
40