SRV record for RDP

Posted on 2012-08-15
Last Modified: 2015-06-05
I'm trying to setup SRV records in W2K8R2 DNS so when a RDP session using custom port e.g. 3399 hits the DNS name it redirects to an IP depending which port is specified for each SRV record, any ideas?

Question by:Newbie68
    LVL 25

    Accepted Solution

    There's no way to do this natively.  You can certainly create SRV records for RDP if you wish and point them to different hosts and port numbers, but the RD client won't ever see those records.  You'd have to write a client-side app that would accept the hostname, query DNS for the RDP SRV records, filter the results by the hostname specified, then kick off the RD client using the hostname and port number given by the filtered results.  If you can get it to work, heck, maybe there's a market for that.

    Author Comment

    Thanks for the response. I would have thought the RD client would see those records when they are on the internal network because in W2K8 DNS I have created DNS entries ending in our domain name so would look internally before querying external DNS for our external domain name.
    Also firewall has policy to redirect certain external IP's to internal IP to give the desired result so I know problem is with internal DNS SRV records.
    The problem I had was even though I created the internal DNS "A" record then trying to create the SRV record would not work - haven't worked on SRV records a great deal to know if the syntax is correct. Any link to screenshots would be great!
    I have created SRV records for our cloud based Lync service but thats because MSoft have good articles on that.
    LVL 25

    Expert Comment

    The SRV records may very well be correct, but the issue is that there's no functionality in the RD client to use those records in any way.  It simply doesn't do an SRV record lookup.  The Lync client, on the other hand, does (and has to).

    Author Comment

    Thank you, i wish i had that info from all the research i have been doing.
    LVL 34

    Expert Comment

    by:Seth Simmons
    This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    Join & Write a Comment

    Suggested Solutions

    Redirected folders in a windows domain can be quite useful for a number of reasons, one of them being that with redirected application data, you can give users more seamless experience when logging into different workstations.  For example, if a use…
    I was supporting a handful of Windows 2008 (non-R2) 2 node clusters with shared quorum disks. Some had SQL 2008 installed and some were just a vendor application that we supported. For the purposes of this article it doesn’t really matter which so w…
    This tutorial will walk an individual through configuring a drive on a Windows Server 2008 to perform shadow copies in order to quickly recover deleted files and folders. Click on Start and then select Computer to view the available drives on the se…
    This tutorial will walk an individual through setting the global and backup job media overwrite and protection periods in Backup Exec 2012. Log onto the Backup Exec Central Administration Server. Examine the services. If all or most of them are stop…

    746 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    15 Experts available now in Live!

    Get 1:1 Help Now