Hello Rudi,
we have several customers that are always connected to our repeater.
I we were forced to switch the repeaters host, we would simply change the DNS record of the repeaters FQDN (which has a very short TTL), shut down the old host, and that's it.
We expect WinVNC.exe to just reconnect to the new host.
The question now is:
Does the WinVNC.exe resolve the FQDN of the repeater a single time to an IP address and uses always this already resolved IP on reconnect if the connection is broken?
Or does the WinVNC.exe always resolve the IP address on reconnect? This would be good for the scenario above.
Would you please be so kind to have a short look on the source code?
Nameresolution of WinVNC
- Rudi De Vos
- Admin & Developer

- Posts: 6986
- Joined: 2004-04-23 10:21
- Contact:
Re: Nameresolution of WinVNC
name is resolved once
ip is used on reconnect
ip is used on reconnect
UltraVNC links (join us on social networks):
- Website: https://uvnc.com/
- Forum: https://forum.uvnc.com/
- GitHub sourcecode: https://github.com/ultravnc/UltraVNC
- Mastodon: https://mastodon.social/@ultravnc
- Bluesky/AT Protocol: https://bsky.app/profile/ultravnc.bsky.social
- Facebook: https://www.facebook.com/ultravnc1
- X/Twitter: https://x.com/ultravnc1
- Reddit community: https://www.reddit.com/r/ultravnc
- OpenHub: https://openhub.net/p/ultravnc
- uvnc2me: https://uvnc2me.com/
- Website: https://uvnc.com/
- Forum: https://forum.uvnc.com/
- GitHub sourcecode: https://github.com/ultravnc/UltraVNC
- Mastodon: https://mastodon.social/@ultravnc
- Bluesky/AT Protocol: https://bsky.app/profile/ultravnc.bsky.social
- Facebook: https://www.facebook.com/ultravnc1
- X/Twitter: https://x.com/ultravnc1
- Reddit community: https://www.reddit.com/r/ultravnc
- OpenHub: https://openhub.net/p/ultravnc
- uvnc2me: https://uvnc2me.com/
Re: Nameresolution of WinVNC
THX Rudi for looking.
Is there any chance to get a parameter in UltraVNC.ini to force DNS resolution (getHostByName() instead of IP) on reconnect to repeater in one of the next releases?
I think the described scenario is not so unique and the parameter would help some people. Especially those who have reverse connections / repeater running on a line with dynamically changing IP.
We would very very appreciate that.
Is there any chance to get a parameter in UltraVNC.ini to force DNS resolution (getHostByName() instead of IP) on reconnect to repeater in one of the next releases?
I think the described scenario is not so unique and the parameter would help some people. Especially those who have reverse connections / repeater running on a line with dynamically changing IP.
We would very very appreciate that.
-
AnotherUVNCuser
- 40

- Posts: 68
- Joined: 2017-09-13 00:40
Re: Nameresolution of WinVNC
I for one would very much welcome it 
