Greetings,
I attempted to connect to a host via SSH with the hostname before the DNS entry in the local DNS server had been created, which obviously failed. Logged into the DNS server and created the record. Verified via nslookup that the record is resolving on the machine RDM is installed on. However, every time I try to connect to the host I get "No such host is known". If I try to use the ping tool I get "DNS Error, unable to resolve the host name". I have deleted and recreated the entry and get the same errors. I know the hostname is correct, the dns record exists, and it resolves correclty on the RDM workstation. Seems like there might be some DNS caching going on. Would like to disable that completely. Alternatively a way to clear the cache would at least get me working again. It finally started resolving again so it seems like the cache is roughly 15 min. In a development environment where VMs get created and destroyed all the time and where they deployed to different dev/staging/production environments this is going to cause problems regularly.
Thanks,
Joe
Hi Joe,
Do you have a command that we could invoke to clear the DNS?
David Hervieux
Hi David,
Thanks for the help. I'm not sure i understand your question. I probably wasn't very clear, but the issue is RDM caching DNS lookups, and needing the ability to disable that, or clear that cache. This isn't the operating system DNS cache or the DNS server cache, it appears to be a cache within RDM, unless I'm completely misunderstanding what is going on. Which is entirely possible.... :)
Thanks very much for the help.
Best regards,
Joe
There is no DNS cache in RDM. Perhaps it automatic in the OS.
David Hervieux
Hi David,
Thanks again for the help. When I was searching around trying to see what was going on, I found this:
https://forum.devolutions.net/topic1021-dnshost-ip-cache--show-password-option.aspx
It sounded like if that feature had been added it could be responsible for the behavior, but maybe I misunderstood. Maybe there's some OS caching thing going on that doesn't affect nslookup but does other windows apps. I'll see what I can find.
Thanks once again for the help, much appreciated.
Best,
Joe
edited by jboren@drakecooper.com on 8/20/2015