Re: socket and DynDNS

2008-10-22 Thread Stephan Schulz
In article <[EMAIL PROTECTED]>, Martin v. Löwis wrote: > >You should look at the TTL of the DNS record, and re-lookup when it >expires. Sure. I can do that. But it would be so much nicer if a lower level would already take care of that (i.e. by caching the lookup for the lease time and then renewi

Re: socket and DynDNS

2008-10-22 Thread Martin v. Löwis
> My naive and ugly alternative is to periodically (e.g. every 5 > minutes) do a manual lookup and use the last address. You should look at the TTL of the DNS record, and re-lookup when it expires. There will be *no* kind of protection for UDP messages. When the machine loses its IP address, it w

socket and DynDNS

2008-10-22 Thread Stephan Schulz
Hi all, I need an application that will duplicate an incoming stream of UDP messages and send it on to some external server that has a dynamic DNS address. I can use the dynamic name someserver.dyndns.org to get the current IP address or to send data too. The question I have is how to do this in