Blog

Users may encounter an error when connecting to an RDS farm via the standard Remote Desktop client (mstsc.exe) on Windows Server 2008 R2. The error message appears as follows:

“The connection cannot be completed because the remote computer that was reached is not the one you specified. This could be caused by an outdated entry in the DNS cache. Try using the IP address of the computer instead of the name.”

This article discusses how to resolve this error and identifies potential causes.

You can purchase original Windows Server 2008 R2 product keys from our catalog from $13.00

System Configuration

In this case, the setup involves an RDS farm with three servers running Windows Server 2008 R2, utilizing an RD Connection Broker to distribute load and manage session reconnections. The error occurred intermittently, suggesting potential issues with one of the farm’s servers.

Step 1: Checking the DNS Cache

The first thought when encountering a DNS-related error is an issue with the DNS cache. An attempt was made to re-register the DNS record for the problematic server using the command:

ipconfig /registerdns

On the client side, the local DNS cache was cleared with the command:

ipconfig /flushdns

However, this did not resolve the issue.

Step 2: Adjusting RDP Security Level

Microsoft’s knowledge base suggests lowering the RDP connection encryption level from SSL to the native RDP Security Layer. This setting can be found in Remote Desktop Session Host Configuration > Microsoft RDP 7.1 > Properties > Security Layer. When the Negotiate method is used, it automatically switches between TLS and RDP Security Layer based on client support. However, this step also failed to resolve the issue.

Step 3: Time Synchronization

It was discovered by chance that the problematic server’s time was out of sync with the domain controller. This server was a virtual machine on an ESXi host with incorrect time settings. It turned out that VMware Tools was configured to synchronize time with the hypervisor. A time mismatch between the server and the domain controller could cause authentication issues.

1. Disable time synchronization with ESXi in the VMware Tools settings.

2. Restart the Windows Time service to synchronize with the domain controller:

net stop w32time

net start w32time

After restarting the time service, users were able to connect to the RDS farm servers without issues.

Note on DNS Usage

The “Outdated entry in the DNS cache” error may also occur if a client attempts to connect to a specific RDS farm server by name. In this case, the Connection Broker may redirect the client to a different server, and a mismatch between the specified address and the actual server can trigger the error. To avoid this, always use the RDS farm name for connections rather than the name of an individual server.

The RDP error “Outdated entry in the DNS cache” can be caused by various factors, such as time synchronization issues or DNS cache problems. In this case, the issue was resolved by synchronizing the server’s time with the domain controller and disabling time synchronization with the ESXi hypervisor.

banner for Windows
Windows от license from
$13.30 ·
Picking your discount
Promo code ·
Promo code expired. A new one in .
Buy valid for

"Personal discount from 5% to 12%" — promotion rules

  1. Organizer — SoftComputers LLP, website softcomputers.net. The promotion runs indefinitely; the organizer may end it at any time by removing the block from the website.
  2. Participation is free. To take part, enter your email and agree to the processing of personal data and to receive emails.
  3. Each participant receives a promo code for a 5% to 12% discount on any product in the catalog. The amount is chosen at random.
  4. The promo code is single-use, tied to the email you entered, valid for 7 days and applied in the cart at checkout. No minimum order amount. Cannot be combined with other promo codes.
  5. One participant (email / device) can receive one promo code per 7 days; a new code is issued after the previous one expires.
  6. The promo code cannot be exchanged for money. The organizer may void a code in case of abuse.
Subscribe
Notify of
guest
0 comments
Newest
Oldest