hierarchical database composed mainly of computer name and IP address pairs • Distributed means no single database contains all data and hierarchical means there’s no structure to how information is stored and accessed in the database • In order to resolve a name to an address, a DNS lookup will often require multiple queries to a hierarchy of DNS servers
MCSA Guide to Installing and Configuring Windows Server 3
• DNS can be described as an inverted tree structure
• The entire DNS tree is called the DNS namespace • Each domain has one or more servers that are authoritative for the domain • Root servers keep a database of addresses of other DNS servers managing top-level domain names, called top-level domain (TLD) servers
MCSA Guide to Installing and Configuring Windows Server 4
• A correctly configured and efficiently functioning
DNS service is essential for a well-functioning network • When domain controllers replicate with one another and when trusts are created between domains in different forests, DNS is required to resolve names and services to IP addresses
MCSA Guide to Installing and Configuring Windows Server 10
Server role with Server Manager or PowerShell • If the DNS server is intended to manage domain name services for Active Directory, DNS Server role should be installed on a domain controller • Windows automatically detects whether or not the server is configured as a domain controller, then integrates DNS zones with Active Directory
MCSA Guide to Installing and Configuring Windows Server 11
Manager if you: – Don’t install DNS at the time you install Active Directory – Install DNS on a server that’s not a domain controller – Create a stub zone – Create a secondary zone for a primary zone – Create a primary or secondary zone for an Internet domain
MCSA Guide to Installing and Configuring Windows Server 12
it’s a forward lookup zone or a reverse lookup zone: – Forward lookup zone (FLZ) – contains records that translate names to IP addresses, such as A, AAAA, and MX records – Reverse lookup zone (RLZ) – contains PTR records that map IP addresses to names and is named after the IP network address (IPv4 or IPv6) of the computers whose records it contains
MCSA Guide to Installing and Configuring Windows Server 13
– Primary zone - contains a read/write master copy of all resource records for the zone; it is considered authoritative for the zone – Secondary zone - contains a read-only copy of all resource records for the zone; it is considered authoritative for the zone – Stub zone - contains a read-only copy of only the SOA and NS records for a zone and the necessary A records to resolve NS records; not authoritative
MCSA Guide to Installing and Configuring Windows Server 14
• Active Directory-Integrated zone - not a new zone
type but it is a primary or stub zone with the DNS database stored in an Active Directory partition – The only valid zone type options are primary and stub zones • If you select a secondary zone, the option to store the zone in Active Directory is disabled
MCSA Guide to Installing and Configuring Windows Server 15
zone that isn’t Active Directory-integrated • Standard zones are stored in a text file called zone- name.dns, which is located in the %systemroot%\system32\dns folder • Mostly installed on stand-alone servers that need to provide name resolution services for network resources outside the domain – Or in networks that don’t use Active Directory, such as Linux or UNIX-based networks
MCSA Guide to Installing and Configuring Windows Server 16
from one DNS server to another • For a standard zone, zone replication is called “zone transfer” • Active Directory-integrated zones have the following advantages over a standard zone: – Automatic zone replication – Multimaster replication and update – Secure updates – Efficient replication
MCSA Guide to Installing and Configuring Windows Server 17
• For an FLZ, it’s the FQDN • For an RLZ, specify whether it’s an IPv4 or IPv6 zone – Then, enter the network ID portion of the zone – The zone name is created automatically by using the network ID’s octets in reverse order and appending “in-addr.arpa” to the name
MCSA Guide to Installing and Configuring Windows Server 20
how to use dynamic updates, which can be configured in one of three ways: – Allow only secure dynamic updates – Allow both nonsecure and secure dynamic updates – Do not allow dynamic updates • Dynamic updates enable DNS client computers to register and dynamically update their resource records with a DNS server whenever changes occur
MCSA Guide to Installing and Configuring Windows Server 21
• Resource records can be created dynamically or as
static records • Dynamic records are created by the resource or with a DHCP server • Static records are created manually by an administrator or automatically by Windows
MCSA Guide to Installing and Configuring Windows Server 22
the resource or by the DHCP server when an IP address is leased or renewed • Each time a dynamic record is created or updated, a time-to-live (TTL) value and timestamp are added to the record – The TTL specifies how long the record should remain in the DNS database – If the record expires, it’s deleted from the database
MCSA Guide to Installing and Configuring Windows Server 23
• Static DNS records do not expire and are created
manually by an administrator • To create a static record in DNS Manager: – Right-click the zone and select the record type – In an FLZ, the most common type of record is a New Host record – Enter a name to create the FQDN automatically – If you select the “Create associated pointer (PTR) record” check box, a PTR record is created if a suitable RLZ exists for the IP address entered
MCSA Guide to Installing and Configuring Windows Server 24
• Stub zones are a special type of zone that contain
only an SOA record, one or more NS records, and the necessary glue A records to resolve NS records • Reasons for using stub zones: – Maintenance of zone delegation information – In lieu of conditional forwarders – Faster recursive queries – Distribution of zone information
MCSA Guide to Installing and Configuring Windows Server 28
– Full zone transfers – Incremental zone transfers • Both master and slave DNS servers must support incremental zone transfers to use them • During the initiation of an incremental zone transfer, the serial number decides whether the slave or the master determines the differences between its current zone data and the zone data on the other server
MCSA Guide to Installing and Configuring Windows Server 30
• To configure a traditional forwarder, right click the
server node in DNS Manager, click Properties, and click the Forwarders tab • If more than one server is specified, they are queried in the order in which they’re listed • Additional servers are only queried if the first server provides no response • No response from any forwarders triggers a normal recursive lookup process, starting with a root server
MCSA Guide to Installing and Configuring Windows Server 34
• When DNS is installed, a new event log is created
to record informational, error, and warning events generated by the DNS server • Common events include zone serial number changes, zone transfer requests, and DNS server startup and shutdown events • Debug logging can be enabled in the server’s Properties dialog box • Debug logging records selected packets coming from and going to the DNS server in a text file
MCSA Guide to Installing and Configuring Windows Server 40
that DNS is actually used for name resolution • After determining that DNS is part of the process, you can begin monitoring DNS – If the problem is performance related – Or, you can troubleshoot DNS queries and zone activities when there are query failures
MCSA Guide to Installing and Configuring Windows Server 43
clear picture in your mind of the DNS lookup process, which involves the following steps: – 1. Check the local DNS cache – 2. Query the DNS server with a recursive lookup – 3. Check the local zone data – 4. Check locally cached data – 5. Query root server or configured forwarders
MCSA Guide to Installing and Configuring Windows Server 45