0 vote
Hi
We have some servers we connect to though a VPN, where DNS resolution isn't available.
My connection is setup with a "Server"-folder where Hostname is populated with actual Hostname and IP with IP.
But since DNS isn't available, it could be nice with an option to connect to IP, so the hostname can stay documentet.
If possible it could be even more awsome if you could actually connect in a way where DNS is bypassed so you connect to the Hostname but provide the IP address.
The best way to describe it I think would be that you add hostname and IP to the hosts file and then connected to the hostname, and then cleaned up the hosts file on disconnect.
Another suggestion, again I don't know if it is possible. I use your DVLS as backend, so if RDM can't do it by it self then maybe paired with DVLS.
That RDM/DVLS provide its own DNS resolver, which stores all hostname/IP connections with forwarders to the local machine's DNS.
If you consider a solution which may take long time to implement, it could be nice with a simple checkbox to connect to the IP instead of hostname, as I feel this would be a fairly easy thing to implemet, so it hopefully can ship with your next update? :)
Regards Lars
Remote Desktop Manager connected with Devolutions Server running newest versions.
------------------------Signature------------------------
Sorry if any of above sounds harsh or provoking, it is NOT meant as such, but I have Asperger's and don't always know.
My intentions is always to be friendly.
-------------------------------------------------------------
Hello Lars,
I have a possible solution for you that already exists within RDM.
From what I understand you have a folder configured this way, with a host and an IP:
And sometimes the DNS is not available so instead of using the host, it should use the IP.
To achieve this, you can configure the entry in the folder to have $COMPUTER_HOST$ (or a different prefix if you are using a different type of folder) in its host field like so:
And in the Description tab, you can configure the alternate host to $COMPUTER_IP$, while configuring the mode to Ping for example:
This will make it so RDM first tries to ping the host configured in the main entry. If unable to ping, it will then try pinging the hosts in the alternate host list, and the first one that works will be connected to. There is also the option to do port scan instead of pinging, or even choosing the alternate host manually, depending on what works best in your environment.
Let me know if this helps your situation!
Regards,
Hubert Mireault
I can see the logic, an could use it as a workaround.
My feature request will still stand, as I feel this is complex to set up, given the information is available in the host, a setting on the folder entry to add/use the IP as an alternate host would still be preferable.
unless you deny my Feature request of cause :)
Regards Lars
Remote Desktop Manager connected with Devolutions Server running newest versions.
------------------------Signature------------------------
Sorry if any of above sounds harsh or provoking, it is NOT meant as such, but I have Asperger's and don't always know.
My intentions is always to be friendly.
-------------------------------------------------------------
Hello Lars,
We will consider it but it's not a simple option to add, especially if you are using variables like I've shown, due to how RDM resolves hosts. I've opened a ticket for this.
Also, for the other possibilities you've mentioned at the start of the thread, we will discuss this internally to see if this could be something we can add in one form or another (be it only on DVLS or otherwise).
Regarding the configuration, it could be possible to create a Powershell script to modify the entries you need with these settings, maybe it could help in the mean time.
Regards,
Hubert Mireault
Thank you!
Could I perhaps be so lucky that you have/could provide a Powershell snippet I could use to get me started?
I'm very used to PowerShell, but haven't looked into the RDM PowerShell module.
Regards Lars
Remote Desktop Manager connected with Devolutions Server running newest versions.
------------------------Signature------------------------
Sorry if any of above sounds harsh or provoking, it is NOT meant as such, but I have Asperger's and don't always know.
My intentions is always to be friendly.
-------------------------------------------------------------
You could use the built-in Powershell special action in RDM to achieve this as well. Here would be the steps for that:
For the script, you would want something like this:
$connection.Host = '$COMPUTER_HOST$'; $connection.AlternateHostMode = 1; $connection.AlternateHosts = '$COMPUTER_IP$'; $RDM.Save();
For the "AlternateHostMode" value, 1 is "ping" and 4 is "port scan".
Running this will configure the host and alternate host value to what I described in my previous post.
If you'd like to use the Powershell module, we have a knowledgebase article to help get started: https://kb.devolutions.net/kb_rdmpowershellcore.html
We also have a repository of example scripts here: https://github.com/Devolutions/RDMSamples-ps
And a section on our forum where our community can contribute their scripts: https://forum.devolutions.net/forums/42/remote-desktop-manager--powershell-repository
Regards,
Hubert Mireault
hi
Thank you, worked perfectly!.
Regards Lars
Remote Desktop Manager connected with Devolutions Server running newest versions.
------------------------Signature------------------------
Sorry if any of above sounds harsh or provoking, it is NOT meant as such, but I have Asperger's and don't always know.
My intentions is always to be friendly.
-------------------------------------------------------------
Hello again
This workaround has an unfortunate downside, that the server should be pingable. Not all the servers we do that.
So it could be really neat if you can do a "Connect to IP" option in the folder settings some time in near future.
Regards.
Remote Desktop Manager connected with Devolutions Server running newest versions.
------------------------Signature------------------------
Sorry if any of above sounds harsh or provoking, it is NOT meant as such, but I have Asperger's and don't always know.
My intentions is always to be friendly.
-------------------------------------------------------------
Perhaps the "port scan" method instead of the "ping" method could help you for now, as it should check if a certain port is opened (which usually is the one you want to connect to).
Regards,
Hubert Mireault
Ahh, yes of cause.
It much better, I will update my connections to 4 :)
Thanks.
Remote Desktop Manager connected with Devolutions Server running newest versions.
------------------------Signature------------------------
Sorry if any of above sounds harsh or provoking, it is NOT meant as such, but I have Asperger's and don't always know.
My intentions is always to be friendly.
-------------------------------------------------------------
By the way, There is no need to set $connection.Host = '$COMPUTER_HOST$'; Inherited workes fine.
How can I change the connections to Inherited with your above script ?
Remote Desktop Manager connected with Devolutions Server running newest versions.
------------------------Signature------------------------
Sorry if any of above sounds harsh or provoking, it is NOT meant as such, but I have Asperger's and don't always know.
My intentions is always to be friendly.
-------------------------------------------------------------
Glad this works for you!
To configure the entry with an inherited host, you can do the following:
$Connection.HostSourceMode = 2;
Regards,
Hubert Mireault
Thank you, and sorry for my lazyness!
Remote Desktop Manager connected with Devolutions Server running newest versions.
------------------------Signature------------------------
Sorry if any of above sounds harsh or provoking, it is NOT meant as such, but I have Asperger's and don't always know.
My intentions is always to be friendly.
-------------------------------------------------------------
Is there a list of all the variables ($COMPUTER_NAME$, $COMPUTER_IP$, etc.) RDM has?
Remote Desktop Manager connected with Devolutions Server running newest versions.
------------------------Signature------------------------
Sorry if any of above sounds harsh or provoking, it is NOT meant as such, but I have Asperger's and don't always know.
My intentions is always to be friendly.
-------------------------------------------------------------
If you click on the Variables button located in the bottom left of an entry's property window, you will have a list of Variables supported in RDM:
Regards,
Hubert Mireault
Oh, sweet. How simple and right infront of my eyes, it hurt that I hadn't found it.
Thank you!
Remote Desktop Manager connected with Devolutions Server running newest versions.
------------------------Signature------------------------
Sorry if any of above sounds harsh or provoking, it is NOT meant as such, but I have Asperger's and don't always know.
My intentions is always to be friendly.
-------------------------------------------------------------