Celebrating the 22th anniversary of the UltraVNC: https://forum.uvnc.com/viewtopic.php?t=38031
Update: UltraVNC 1.4.3.6 and UltraVNC SC 1.4.3.6: https://forum.uvnc.com/viewtopic.php?t=37885
Important: Please update to latest version before to create a reply, a topic or an issue: https://forum.uvnc.com/viewtopic.php?t=37864

Join us on social networks and share our announcements:
- Website: https://uvnc.com/
- GitHub: https://github.com/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

Single-click DNS lookup

Single Click discussions / bugs
Post Reply
glennshelpdesk
Posts: 1
Joined: 2013-11-19 09:11

Single-click DNS lookup

Post by glennshelpdesk »

So I have a dynamic DNS, but my domain registrar supports dynamic host records, so I have a script that updates my IP address each morning when I power up... but it takes an hour or more to propagate the IP address to all the other DNS servers from the authoritative one maintained by the domain registrar.

I have a SC build pointed at the host name that I update. So it doesn't work for the first hour each morning, but after that, works fine.

While that gives me time to read my email in peace :), it would be nicer if SC could either ask who is the authoritative DNS, and get the real IP from it, rather than the one cached by the users local DNS, or if it could be configured to know the authoritative DNS (my registrar has 5 of them, so I guess it should be a list), and just directly ask the authoritative DNS servers in turn, and if it can't reach them, than fall back to using the local DNS server.

Of course, such a feature would require code to speak directly to DNS servers, rather than just calling the usual gethostbyname or getaddrinfo
Bonji
100
100
Posts: 339
Joined: 2008-05-13 14:54

Re: Single-click DNS lookup

Post by Bonji »

What you're asking for is outside the norm for how software typically interacts with name resolution. I wouldn't try to make the software act differently, but instead I'd try to work within the framework of name resolution itself.

The free DNS service I use for my dynamic addressing has very low TTL times for those records so they update very quick. I would ask your domain registrar to lower the TTL value on your dynamic record to something more tolerable than an hour. They may or may not do it (or they may allow you to adjust it yourself), but if they won't you could try to find someone else to host the domain who will.
-Ben
Post Reply