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