Skip to content

TechDirectArchive

Hands-on IT, Cloud, Security & DevOps Insights

  • Home
  • About
  • Advertise With US
  • Reviews
  • Contact
  • Toggle search form
Home » Windows Server » What happens when WDS and DNS are installed on the same Windows Server? DNS issues with WDS
  • Steps to upgrade VBR to v12.1
    How to upgrade Veeam Backup and Replication v11 to 12.1 Backup
  • snapshot replication
    How to create Synology Snapshot Replication Backup
  • 517443 637286201540125528 16x9 1
    User account and process management in Linux Linux
  • Locate Find and Grep Required 1
    Locate, Find and Grep: Search for files and patterns in Linux or Unix-like OS Linux
  • image 41
    How to Quickly Fix Windows Search Bar Not Working Windows
  • Install Lets Encrypt Certificate on Windows with Certbot
    Install Lets Encrypt Certificate on Windows with Certbot Web Server
  • AWS Scheduled Events
    View Scheduled Events on AW using AWS Web Console and CLI AWS/Azure/OpenShift
  • 05kvj2jzbpj1ugp4etb4gdf 19.fit scale.size 2698x1517 e1690630247655
    Various methods to launch the Event Viewer Windows Server

What happens when WDS and DNS are installed on the same Windows Server? DNS issues with WDS

Posted on 26/05/202009/10/2024 Christian By Christian No Comments on What happens when WDS and DNS are installed on the same Windows Server? DNS issues with WDS
WDS and DNS

DNS is a server role that you can install by using Server Manager or Windows PowerShell commands. If you are installing a new Active Directory forest and domain, DNS is automatically installed with Active Directory as the Global Catalogue server for the forest and domain. In this article, we shall discuss “What happens when WDS and DNS are installed on the same Windows Server? DNS issues with WDS”. Please see Domain Name System Protocol: Client Registration Issue, and how to enable or disable Secure Boot in Windows.

Note:  There is no need to install the DNS server role alongside AD DS. This is because; you must not necessarily use the built-in DNS server. So I will be using a 3rd party DNS Server.

You may want to see How to configure Windows Deployment Services on Windows Server 2019, and Windows Deployment Services: How to setup and install WDS role.

Active Directory Domain Services (AD DS)

Active Directory Domain Services (AD DS) uses DNS as its domain controller location mechanism. When any of the principal Active Directory operations are performed, such as authentication, updating, or searching, computers use DNS to locate Active Directory domain controllers. In addition, domain controllers use DNS to locate each other.

The DNS Client service is included in all client and server versions of the Windows operating system and is running by default upon operating system installation. When you configure a TCP/IP network connection with the IP address of a DNS server, the DNS Client queries the DNS server to discover domain controllers and to resolve computer names to IP addresses.

See the following guides for other information. What are the differences between Universal, Global, and Domain Local Group Scopes, and Differences between Active Directory Lightweight Directory Services and Active Directory Domain Services.

What happens when WDS and DNS are together

When WDS and DNS run on the same server, they may introduce some problems. This happens when the DNS is installed first.

  • The DNS service binds to all ports needed by WDS. The Default WDS port range is 64,000 to 65,000
  • A specific patch can also cause this problem, watch out!

DNS with WDS

For how to set various DHCP options. Note: In my case, I do not have any issues since I am using Windows Server 2019. I have the option to obtain a dynamic port from Winsock as shown below!

Windows Server

But if you are running Windows Server 2008 or 2012 you will run into this issue.

Method 1: DNS issues with WDS

To resolve this, you will have to navigate to the WDS Server properties as shown below.

DNS issues

Click the Network settings tab. Change the range from say 64100 to 64200 or 65000 as you wish.

Note: You have to ensure other applications are not making use of these ports).

That is all you need to do 🙂

Method 2: DNS issues with WDS

You can also set this from the command line using WDSUTIL, see the syntax below.

wdsutil /set-Server /Transport /StartPort:65100 /EndPort:65200

Here are some more guides: Domain Name System: How to create a DNS record, and DNS Bad key 9017: The Cluster Name registration failed of one or more associated DNS names. Also see, Uninstall WDS: How to remove Windows Deployment Services role via the GUI and PowerShell.

Method 3

If you are running Windows Server 2008 R2. You can also configure WDS to dynamically query WinSock for available ports instead of using a port range. This is done by setting the UdpPortPolicy value in the registry to 0.

You will find it in the path below and you need to restart WDS after changing the value.

HKLM\System\CurrentControlSet\Services\WDSServer\Parameters key.

Use the above method if both DNS and WDS are on the same server. I hope you found this blog post helpful. Please let me know in the comment session if you have any questions.

I hope you found this blog post on “What happens when WDS and DNS are installed on the same Windows Server? DNS issues with WDS” helpful. Please let me know in the comment session if you have any questions.

5/5 - (1 vote)

Thank you for reading this post. Kindly share it with others.

  • Share on X (Opens in new window) X
  • Share on Reddit (Opens in new window) Reddit
  • Share on LinkedIn (Opens in new window) LinkedIn
  • Share on Facebook (Opens in new window) Facebook
  • Share on Pinterest (Opens in new window) Pinterest
  • Share on Tumblr (Opens in new window) Tumblr
  • Share on Telegram (Opens in new window) Telegram
  • Share on WhatsApp (Opens in new window) WhatsApp
  • Share on Pocket (Opens in new window) Pocket
  • Share on Mastodon (Opens in new window) Mastodon
  • Share on Bluesky (Opens in new window) Bluesky
  • Share on Threads (Opens in new window) Threads
  • Share on Nextdoor (Opens in new window) Nextdoor
Windows Server Tags:DNS, DNSRecord, WDS, Windows 10, Windows Server 2016

Post navigation

Previous Post: WDS and DHCP Deployment Scenarios: Configure DHCP Options 60, 66, and 67
Next Post: What is the difference between 32-bit and 64-bit processors

Related Posts

  • original 1
    DISM “Failed to open image” CWimImageInfo Mount(hr:0x8007000d): Fix Error DISM WIM Provider Windows
  • RDP Certificate Issues
    Connecting to the RDP host: Fix the Certificate could not be verified back to the root certificate Mac
  • SSH Keys Generation
    How to Generate SSH keys in Windows 11 Windows
  • Screenshot 2021 02 05 at 19.09.17
    How to install and update PowerShell version 7 on Windows and Linux Windows Server
  • wingettool
    Install Applications with Winget CLI on Windows Windows Server
  • Uninstall MicrosoftDefenderUpdate
    What you need to know about Microsoft Defender Antivirus Security | Vulnerability Scans and Assessment

More Related Articles

original 1 DISM “Failed to open image” CWimImageInfo Mount(hr:0x8007000d): Fix Error DISM WIM Provider Windows
RDP Certificate Issues Connecting to the RDP host: Fix the Certificate could not be verified back to the root certificate Mac
SSH Keys Generation How to Generate SSH keys in Windows 11 Windows
Screenshot 2021 02 05 at 19.09.17 How to install and update PowerShell version 7 on Windows and Linux Windows Server
wingettool Install Applications with Winget CLI on Windows Windows Server
Uninstall MicrosoftDefenderUpdate What you need to know about Microsoft Defender Antivirus Security | Vulnerability Scans and Assessment

Leave a Reply Cancel reply

You must be logged in to post a comment.

Microsoft MVP

VEEAMLEGEND

vexpert-badge-stars-5

Virtual Background

GoogleNews

Categories

veeaam100

sysadmin top30a

  • Steps to upgrade VBR to v12.1
    How to upgrade Veeam Backup and Replication v11 to 12.1 Backup
  • snapshot replication
    How to create Synology Snapshot Replication Backup
  • 517443 637286201540125528 16x9 1
    User account and process management in Linux Linux
  • Locate Find and Grep Required 1
    Locate, Find and Grep: Search for files and patterns in Linux or Unix-like OS Linux
  • image 41
    How to Quickly Fix Windows Search Bar Not Working Windows
  • Install Lets Encrypt Certificate on Windows with Certbot
    Install Lets Encrypt Certificate on Windows with Certbot Web Server
  • AWS Scheduled Events
    View Scheduled Events on AW using AWS Web Console and CLI AWS/Azure/OpenShift
  • 05kvj2jzbpj1ugp4etb4gdf 19.fit scale.size 2698x1517 e1690630247655
    Various methods to launch the Event Viewer Windows Server

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 1,825 other subscribers
  • RSS - Posts
  • RSS - Comments
  • About
  • Authors
  • Write for us
  • Advertise with us
  • General Terms and Conditions
  • Privacy policy
  • Feedly
  • Telegram
  • Youtube
  • Facebook
  • Instagram
  • LinkedIn
  • Tumblr
  • Pinterest
  • Twitter
  • mastodon

Tags

AWS Azure Bitlocker Microsoft Windows PowerShell WDS Windows 10 Windows 11 Windows Deployment Services Windows Server 2016

Copyright © 2025 TechDirectArchive

 

Loading Comments...
 

You must be logged in to post a comment.