• Home
  • IT-Courses
    • Installing and Upgrading Microsoft Window Server
    • Designing Network Infrastructure Window Server
    • Design and Configure Active Directory Window Server
    • Implementing and Administering Active Director
    • Install, Configure and Migrate Domain DNS Services
    • Designing a Secure Microsoft Windows-Based Network
  • Training Videos
  • Forum
  • Career
  • About us
  • Contacts
  • Home
  • IT-Courses
    • Installing and Upgrading Microsoft Window Server
    • Designing Network Infrastructure Window Server
    • Design and Configure Active Directory Window Server
    • Implementing and Administering Active Director
    • Install, Configure and Migrate Domain DNS Services
    • Designing a Secure Microsoft Windows-Based Network
  • Training Videos
  • Forum
  • Career
  • About us
  • Contacts
Log in / Sign in
What are you looking for?
Trending Searches: Javascript Database Photoshop
Popular categories
Uncategorized

Uncategorized

13 products
View all categories
0 0
0 Shopping Cart

No products in the cart.

Return To Shop
Shopping cart (0)
Subtotal: $0.00

View cartCheckout

Module 3: Implementing Name Resolution Using DNS in Windows Server

DNS (Domain Name System) is a core component of network infrastructure that translates human-readable hostnames (like server01.company.local) into IP addresses (like 192.168.1.10). In Windows Server networks, DNS is essential for Active Directory, remote access, and network service discovery.


DNS Role in Windows Server

Windows Server provides a built-in DNS Server role, which supports:

  • Forward and reverse lookup zones

  • Integration with Active Directory (AD)

  • Support for dynamic updates

  • Conditional forwarding and zone transfers


Steps to Install and Configure DNS
  1. Open Server Manager > Add Roles and Features

  2. Select DNS Server under Server Roles

  3. Complete the wizard and reboot if prompted

  4. Open DNS Manager via Tools > DNS


Core DNS Components
ComponentDescription
Forward Lookup ZoneResolves hostnames to IP addresses (e.g., web01 → 192.168.1.50)
Reverse Lookup ZoneResolves IP addresses to hostnames (e.g., 192.168.1.50 → web01)
Resource Records (RRs)Entries such as A, AAAA, CNAME, MX, PTR, SRV, etc.
Zone TransfersCopies DNS zone data between primary and secondary DNS servers

Overview of the DNS Query Process

Iterative QueryThe DNS server returns the best answer that it can provide without help from other servers
Recursive QueryThe DNS server returns a complete answer to the query, not a pointer to another DNS server
Forward LookupRequires name-to-address resolution
Reverse LookupRequires address-to-name resolution

Installing the DNS Server Service in Windows Server: Step-by-Step Guide

The DNS (Domain Name System) Server in Windows Server allows clients to resolve hostnames (like server01.local) into IP addresses (like 192.168.1.10). It’s a critical service for Active Directory, email, internet access, and internal applications.


Benefits of DNS in Windows Server
  • Name-to-IP resolution for internal and external domains

  • Enssential for Active Directory functionality

  • Secure updates with AD-integrated zones

  • Forwarding, caching, and zone transfers for performance and redundancy


Installing DNS Server Using Server Manager
  1. Open Server Manager

  2. Click “Add Roles and Features”

  3. Choose Role-based or feature-based installation

  4. Select the target server

  5. Under Server Roles, check DNS Server

  6. Click Next through all prompts → Click Install

  7. Once completed, go to Tools > DNS to launch the DNS Manager


Installing DNS Server Using PowerShell

Install-WindowsFeature -Name DNS -IncludeManagementTools

You’ll see:

Success Restart Needed Exit Code Feature Result
——- ————– ——— ————–
True No Success {DNS Server, DNS Server Tools}

Installing the DNS Server Service

Configuring Name Resolution for Client Computers in Windows Networks

Name resolution allows client computers to translate domain names (e.g., fileserver.company.local) into IP addresses. In Windows environments, DNS is the primary method for name resolution, and proper configuration is essential for accessing network resources like file servers, printers, and web apps.


How to Configure DNS for Clients
Option 1: Configure via DHCP (Recommended)

Automatically assign DNS settings to clients through your DHCP server:

  1. Open DHCP Management Console

  2. Right-click your scope → Scope Options

  3. Add or edit the following:

    • 003 Router: Default gateway IP

    • 006 DNS Servers: Internal DNS server IP(s)

    • 015 DNS Domain Name: e.g., company.local

When clients get an IP lease, they also receive DNS settings.


Option 2: Manually Set DNS on a Client (Static)

For static IP setups:

  1. Go to Control Panel > Network and Sharing Center

  2. Click Change adapter settings

  3. Right-click your network adapter → Properties

  4. Select Internet Protocol Version 4 (TCP/IPv4) → Click Properties

  5. Choose Use the following DNS server addresses

    • Preferred DNS: 192.168.1.10 (your internal DNS)

    • Alternate DNS: 8.8.8.8 (Google, optional for fallback)


Name Resolution in Active Directory

In AD environments, DNS is vital for:

  • Logging on to domain accounts

  • Locating domain controllers (_ldap._tcp.dc._msdcs)

  • Accessing internal services via hostname

Clients must use internal DNS to locate AD resources — external DNS servers alone will break domain functionality.


Verifying Name Resolution on Clients

Use the following commands:

ipconfig /all # Check DNS server assignment
nslookup hostname # Confirm DNS resolution
ping hostname # Test connectivity

When You Enable Logging, the DHCP Server Creates Log Files Called DhcpSrvLog.xxx. The DHCP Server Stores These Files in the DHCP Database Directory

Configuring Name Resolution

 
Creating DNS Zones in Windows Server: Forward & Reverse Lookup Explained

A DNS zone is a portion of the DNS namespace that you manage. It stores records that map hostnames to IP addresses (forward lookup) or IP addresses to hostnames (reverse lookup). DNS zones help ensure fast and accurate name resolution within networks.


Types of DNS Zones in Windows Server
TypeDescription
Forward Lookup ZoneResolves hostnames to IP addresses (e.g., server01 → 192.168.1.10)
Reverse Lookup ZoneResolves IP addresses to hostnames (e.g., 192.168.1.10 → server01)
Primary ZoneWritable, authoritative source of DNS records
Secondary ZoneRead-only copy of another DNS server’s zone
Stub ZoneContains only NS, SOA, and glue records for delegation
AD-Integrated ZoneStored in Active Directory for replication and security
How to Create a Forward Lookup Zone (GUI)
  1. Open DNS Manager (Server Manager > Tools > DNS)

  2. Expand your server → Right-click Forward Lookup Zones → Select New Zone

  3. Choose Primary Zone (or AD-Integrated if using Active Directory)

  4. Enter the zone name (e.g., company.local)

  5. Enable or disable dynamic updates

  6. Finish the wizard and start adding A (host) and CNAME records


How to Create a Reverse Lookup Zone
  1. In DNS Manager, right-click Reverse Lookup Zones → New Zone

  2. Select zone type (Primary or AD-Integrated)

  3. Choose IPv4 Reverse Lookup Zone

  4. Enter the network ID (e.g., 192.168.1)

  5. Finish the wizard

  6. Add PTR records to map IPs to hostnames


PowerShell Commands to Create Zones

Create a Forward Lookup Zone:

Add-DnsServerPrimaryZone -Name “company.local” -ZoneFile “company.local.dns”

Create a Reverse Lookup Zone:

Add-DnsServerPrimaryZone -NetworkId “192.168.1.0/24” -ZoneFile “1.168.192.in-addr.arpa.dns”

  • Identifying Zone Types
Identifying Zone Types
  • Examining the Zone File
Zone File
  • Creating Lookup Zones
Lookup Zones
Configuring DNS Zones in Windows Server: Step-by-Step Guide for Reliable Name Resolution

After creating a DNS zone, the next step is configuring it to ensure proper name resolution, security, and scalability. This includes managing zone types, enabling dynamic updates, configuring replication, and adding DNS records.

Steps to Configure a DNS Zone
1. Open DNS Manager
  • Go to Server Manager > Tools > DNS

  • Expand your DNS server → Forward Lookup Zones or Reverse Lookup Zones


2. Configure Zone Properties

Right-click the zone you want to configure → Select Properties

You can modify:

  • Zone Type: Primary, Secondary, or Stub

  • Replication Scope (if AD-integrated)

  • Dynamic Updates: None, Secure only, or Nonsecure and secure

  • Aging/Scavenging settings

  • WINS Lookup (optional, for legacy systems)


Enable Secure Dynamic Updates

If using Active Directory–integrated zones:

  • In the zone’s Properties > General, choose:
    ✅ “Allow only secure dynamic updates”

  • Helps protect against unauthorized record changes


Configure Zone Transfers (Optional)

To replicate zone data to secondary DNS servers:

  1. Go to Zone Properties > Zone Transfers

  2. Enable “Allow zone transfers”

  3. Choose:

    • To any server (not recommended)

    • Only to servers listed on the Name Servers tab

    • Only to specified IP addresses

✅ Helps with DNS redundancy and failover.


Add Common DNS Records

Within the zone:

  • Right-click → New Host (A or AAAA): webserver → 192.168.1.10

  • New Alias (CNAME): www → webserver.company.local

  • New Mail Exchanger (MX): for mail servers

  • New PTR (in reverse zones): maps IP to hostname

  • Configuring Standard Zones
  • You can configure a DNS server to host standard primary zones, standard secondary zones, or any combination of zones
  • You can designate a primary server or a secondary server as a master server for a standard secondary zone
Standard Zones
  • Zone Transfer Process
  • A master DNS server sends notification of zone changes to the secondary server or servers
  • The secondary server queries a master DNS server for changes to the zone file
Zone Transfer Process
  • Configuring Zone Transfers
Configuring Zone Transfers
  • Creating a Subdomain
  • Create a Subdomain to Better Organize Your Namespace
  • Delegate Authority of a Subdomain To
  • Delegate management of portions of the namespace
  • Delegate administrative tasks of maintaining one large DNS database
Subdomain
  • Configuring Active Directory Integrated Zones
  • Stored as an Active Directory object
  • Replicated as part of domain replication
Zone Data
  • Migrating Zones to the Windows 2018 DNS Server service
Domain_name.dnsThe Forward Lookup File That Is Used to Translate Host Names to IP Addresses
z.y.x.w.in-addr.arpa.dnsThe Reverse Lookup File That Is Used to Translate IP Addresses to Host Names
Cache.dnsContains the Required Host Information for Resolving Names Outside Authoritative Domains
BootControls How the DNS Server Service Starts
Configuring DNS for Internal Use in Windows Server Networks

An internal DNS configuration allows devices within your private network to resolve names (like server01.company.local) to IP addresses. It’s essential for:

  • Active Directory domain services

  • Accessing internal apps, printers, and file shares

  • Centralized, secure, and fast name resolution

Configuring DNS
  • Configure a Root Zone on a DNS Server When
  • Your intranet is not connected to the Internet
  • You are using a proxy server to gain access to the Internet
DHCP Relay Agent
Integrating DNS and DHCP in Windows Server for Seamless Network Management

DNS and DHCP integration refers to the automatic registration of client devices into DNS as they receive IP addresses from the DHCP server. This enables dynamic, real-time name-to-IP resolution without manual DNS updates — improving efficiency and scalability.

How to Integrate DNS and DHCP in Windows Server
1. Enable Dynamic Updates in DNS
  1. Open DNS Manager

  2. Right-click your zone (e.g., company.local) → Properties

  3. Under Dynamic updates, select:

    • ✅ Secure only (recommended for AD environments)

    • Or “Nonsecure and secure” if not using AD


2. Configure DHCP to Automatically Update DNS
  1. Open DHCP Manager (dhcpmgmt.msc)

  2. Right-click your server → Properties → DNS tab

  3. Check the following options:

    • ☑️ Enable DNS dynamic updates according to the settings below

    • ☑️ Always dynamically update DNS records

    • ☑️ Discard A and PTR records when lease is deleted

    • ☑️ Dynamically update DNS records for DHCP clients that do not request updates

📌 This ensures both A and PTR records are registered/cleaned as leases change.


3. Configure DHCP Server Credentials (for Secure Updates)

For secure DNS updates in AD-integrated environments:

  1. In DHCP Manager > IPv4 > Properties > Advanced > Credentials

  2. Enter a domain user account with permission to update DNS (avoid using Domain Admins)

This allows the DHCP server to register records on behalf of clients, especially for non-Windows or non-domain-joined devices.


4. Test DNS-DHCP Integration
  • Run ipconfig /release and then ipconfig /renew on a client

  • Check if:

    • A record is created in Forward Lookup Zone

    • PTR record is created in Reverse Lookup Zone

  • Use nslookup to verify hostname and IP

  • Overview of Dynamic Updates
  • The DNS Dynamic Update Protocol Allows Clients to Automatically Update DNS Servers
Dynamic Updates
  • Configuring Dynamic Updates
  • Configure the DNS Server to Allow Dynamic Updates
  • Configure the DHCP Server for Dynamic Updates
  • Configure Windows 2018 Based Clients for Dynamic Updates
  • Securing Dynamic Updates
Securing Dynamic Updates
Maintaining and Troubleshooting DNS Servers in Windows Server Environments

DNS is the backbone of network communication. If DNS fails, users can’t access internal or external resources by name. Proper maintenance and quick troubleshooting keep your Windows Server-based DNS healthy and responsive.

  • Reducing Network Traffic by Using Caching-Only Servers
  • Caching-Only Servers
  • Perform name resolution on behalf of client computers and cache the results
  • Can be used to reduce DNS-related traffic across a WAN
WAN network diagram
  • Maintaining DNS Zones
Maintaining DNS Zones
  • Monitoring DNS Servers
Monitoring DNS Servers
  • Verifying Resource Records by Using Nslookup
Nslookup
  • Use Nslookup to Verify That the Information Contained in Resource Records Is Correct
Module 2: Automating IP Addres...
Module 2: Automating IP Address Assignment Using DHCP in Windows Server
Module 4: Implementing Name Resolution Using WINS in Windows Server
Module 4: Implementing Name Re...

Add comment Cancel reply

Your email address will not be published. Required fields are marked

Quick Links

    • Career

    • Live Discussion

    • Certification

    • Sitemap

    • Help & Support

ADDITIONAL LINKS

    • About Us

    • Terms & Condition

    • Privacy Policy

    • Forum

    • Contact Us

Categories

    • Phone: (+92) 333-6522806

    • Email: info@skillpointit.com

    • Address: Lahore, Pakistan

    • Email: shahzad@skillpointit.com

Subscribe Now!

get 20% Off on courses collection Now!

Facebook Twitter Whatsapp Youtube Telegram

© 2024 SkillPoint IT. All rights reserved.