Patrick Cernko <[EMAIL PROTECTED]> writes:

> I discovered a small problem with the increasing number of servers with
> canching IPs but constant name (provided by Nameservers like
> dyndns.org). If the download with wget is interrupted by a IP change
> (e.g. a dialup host whose provider killed the connection), wget retries
> the download using the previously cached IP. This will fail as the host
> (specified by its "dyndns"-Hostname) is no longer reachable via this old
> IP. Instead he is reachable over a new IP (assigned by its provider).
> But it is still reachable via its hostname as the host updated the DNS
> entry with its new IP.
> 
> So I patched wget to tell it, not to use the cached IPs from earlier but
> instead do a new host lookup like for the first time connecting the
> host.

Patrick, thanks for the patch and the explanation.  A similar change,
probably with invocation `--dns-cache=off', is scheduled to appear in
the next release.

Your contribution is also important because we've been looking for a
suitable text for the manual that explains why it is sometimes
beneficial to turn off the DNS cache.

Reply via email to