use specific DNS server for DHCP hosted networks

Implemented

use specific DNS server for DHCP hosted networks

avatar

Hi,

I have multiple customers to support with RDM.

Some of these have a DHCP Server running so the IP addresses of the clients are kind of "randomly".

Is there a possibility that RDM asks a DNS server that is somewhere entered in the session details?

My own DNS server doesn't know all the clients I support, the IP addresses are changing but the DNS server of my customer would know it.

Have you got a hint how I can solve this problem other then looking up the IP address manually doing a 'nslookup <clientname> <CustomerDNS>'?

Thanks in advance

Reiner

All Comments (29)

avatar

Hi,

I have entered a feature request for that. Thank you

David Hervieux

avatar

Hi,

thank you.

avatar
arthurmayer
Disabled

Hello,

we are evaluating RDM currently and since I did not found this feature in the application, I wanted to ask, if it is implemented yet.

Thanks in advance

avatar

@arthurmayer,

What are you trying to accomplish exactly? Could you elaborate on the subject?

What type of session are you launching?

What version of RDM are you running?

Best regards,

Jeff Dagenais

avatar
arthurmayer
Disabled

Using the latest RDM Enterprise 30d Trial 2020.1.20.0 x64 win and 2020.1.8.0 macos (trial)

Trying to accomplish exactly what OP asked 8 years ago.

we manage multiple remote networks/subnets connected via ipsec vpn (vpn is not managed by rdm). each remote subnet has its own dhcp and nameserver with many dhcp workstations. i want specify the dns server for each subnet folder, so i can add remote hosts/sessions by their hostname instead of ip.

in rdm i created a folder/domain for each remote subnet. ideally the dns servers could be specified on the folders, so all sub-object will be resolved by inherited namesrever.

thanks in advance

avatar
arthurmayer
Disabled

please let me crosslink this and a similar request: https://forum.devolutions.net/topics/2504/dns-server-lookup-option

avatar

Hello,

After verification, there's nothing implemented at this time in RDM to accomplish this.

Sorry about that.

Best regards,

Jeff Dagenais

avatar
arthurmayer
Disabled

sadly, thanks for honest reply.

this is an essential feature for us, since it is impossible to map dozens of remote nameservers into our domain (especially because they have colliding zones)

any suggestions on pre-script for a session with hostname in address field, resolve it first with nslookup using remote server, get back the current dhcp ip and connect to the returned ip? i.E. following returns only clean ip address:

(((nslookup workstationXY.remotedomain.tld remote.dns.server.ip 2>null| select-string -pattern "Address:") -split ":")[3]).Trim()

avatar

For me as the original poster the problem was solved with Windows 2016 Server because since then the DNS Server suported conditional forwarding.

I now can just enter the FQDN for the host and the normal DNS functionality will do the rest.

Do you really have different customers with the same FQDN domain name?

Kind regards,

Reiner

avatar
arthurmayer
Disabled

Hello Reiner,

thanks for coming back to this topic after years :)

sadly yes, we have some customers with duplicate domains, not only workstation hostnames. (not our fault. we are an IT service company, so many customer were changing to us with their previously existing setups, often some sh!t like "ws01.ad.local"), but there is no option to change their domains, since its a big time effort = costs.

On the other side RDM is not actually a "cheap" software (enterprise team) and we do expect some features. this is not the only investment to do in our hard- and software. there are a lot of reoccurring licenses, as backup software, virtualization hypervisors, firewalls, antivirus, etc etc etc.... you know what i mean.

if we just go ahead and buy everything, that could "partially" solve our needs and invest time into changing infrastructures and least but not last calculate all the other investments together, it would bomb away any rentability for our customers and us ourselves out of the water.

I greatly appreciate your response. Technically there are a lot of options. Thanks for that.

But again, your original request was 8 years ago, and staff member (@David Hervieux) said he added it to the feature request list also 8 years ago, and it is not implemented yet. it is an important feature.and there were implemented millions of unimportant (IMHO) features, i am not sure, if i can suggest to our financial department to invest in this software.

manually we got around it for years, this is something what really would add value (also a faster gui experience would get a lot of value, but this is not critical).

to add, this requested feature is not hard to implement. i don't insist on a true native and/or portable solution. a windows included cmd tool like nslookup could be used. or an external tool i.e. dig (like other external tools, as vpn clients, browsers, teamviewer, dameware, etc.), which is included with all linux flavors OTB, macos/macosx, and is also available for windows as installer. there are tons of different VPNs, tons of group folder-objects. let it be a script for pre-session, we don't care, we have a mission to accomplish.

off topic here, but still, add important things, like: website object invalid cert ignore (browser independent, except of HSTS of course). folder-object "foreign/remote subnet" with customizable gateway and dns-server, similar like its done with VPN.

but no, we have millions of features, that are silly (as credit card and payment, let them be in the CRM software, its not depending to a RDM in any way)... sorry, got to deep into my anger of not fulfilled wishes in only two days of trial and evaluation :)

I absolutely love the MD-wiki-like feature for the objects, this is a game changer! also i love the versatileability, design and usability.

Beste Grüsse

Arthur

avatar

Hello,

I don't think this will be implemented for this release but I have created another enhancement request. I just did some research and I think it could be added. You might be right and maybe Remote Desktop Manager is not well fitted for your needs. You might not like some features but they were requested by other users. In the meantime you can try the Before Connect events to call a small PowerShell script:

Here is an example where I change the connection name and you could do the same by changing the Url property

Regards

David Hervieux

avatar
arthurmayer
Disabled

Hello David,

thanks, this actually IS helpful. i will make a script with my previous idea of getting ip via powershell using nslookup, like (pseudo code following)....

$RDM.Connection.Name = (((nslookup workstationXY.remotedomain.tld remote.dns.server.ip 2>null| select-string -pattern "Address:") -split ":")[3]).Trim()

we are evaluating rdm since 3 days now, it fulfills a lot of whishes from our team. but in the short time i am not deep into the API and variables yet. i think, if the API allows such manipulation through scripting, i will come up with a solution next week, and report. maybe even with a plugin, that would be great. any further help and finger pointing is appreciated.

and of course, this is a user request actually since 8 years. would be really cool, to have it integrated into the gui.

avatar

Hello David,

do you have an example how to take a customer field from a RDM-Group-Folder instead of "test"?

It would help to get IP-Adresses for the DNS-Servers

avatar

Hello,

Sorry to jump in! That being said, would it be possible for you to provide me a screenshot of the field you would like to use?

I will then be able to see if it is possible to return the value of this field with a script and use it as the connection name.

Depending on the field you wish to use, we might have a variable that will allow you to do this:

https://help.remotedesktopmanager.com/settings_variables.html

Best regards,

James Lafleur

avatar

Hello James,

If we can save the DNS-Server in a folder custom field like this:

And the Server entry looks like:

Then it could be possible to overwrite the host in the Before Open-Event with something like:

$RDM.Conection.Host = (Resolve-DnsName -Name $RDM.Connection.Host -Type A -Server $DOMAIN_CUSTOM_FIELD1$).IPAddress

But what is the right syntax?

Thank's in advance.

Reiner