1
0
mirror of https://github.com/moparisthebest/wget synced 2024-07-03 16:38:41 -04:00

[svn] Don't advertise --no-dns-cache as necessary for dyndns downloads.

This commit is contained in:
hniksic 2005-04-17 16:26:26 -07:00
parent 49ebd62276
commit 1aa8ce44c8
2 changed files with 22 additions and 19 deletions

View File

@ -1,3 +1,8 @@
2005-04-18 Hrvoje Niksic <hniksic@xemacs.org>
* wget.texi (Download Options): Don't claim that --no-dns-cache is
necessary for dyndns servers -- it's not.
2005-04-08 Larry Jones <lawrence.jones@ugsplm.com> 2005-04-08 Larry Jones <lawrence.jones@ugsplm.com>
* Makefile.in (wget.info): Don't use $< in an explicit rule. * Makefile.in (wget.info): Don't use $< in an explicit rule.

View File

@ -813,26 +813,24 @@ Setting quota to 0 or to @samp{inf} unlimits the download quota.
@cindex DNS cache @cindex DNS cache
@cindex caching of DNS lookups @cindex caching of DNS lookups
@item --dns-cache=off @item --no-dns-cache
Turn off caching of DNS lookups. Normally, Wget remembers the addresses Turn off caching of DNS lookups. Normally, Wget remembers the IP
it looked up from DNS so it doesn't have to repeatedly contact the DNS addresses it looked up from DNS so it doesn't have to repeatedly
server for the same (typically small) set of addresses it retrieves contact the DNS server for the same (typically small) set of hosts it
from. This cache exists in memory only; a new Wget run will contact DNS retrieves from. This cache exists in memory only; a new Wget run will
again. contact DNS again.
However, in some cases it is not desirable to cache host names, even for However, it has been reported that in some situations it is not
the duration of a short-running application like Wget. For example, desirable to cache host names, even for the duration of a
some HTTP servers are hosted on machines with dynamically allocated IP short-running application like Wget. With this option Wget issues a
addresses that change from time to time. Their DNS entries are updated new DNS lookup (more precisely, a new call to @code{gethostbyname} or
along with each change. When Wget's download from such a host gets @code{getaddrinfo}) each time it makes a new connection. Please note
interrupted by IP address change, Wget retries the download, but (due to that this option will @emph{not} affect caching that might be
DNS caching) it contacts the old address. With the DNS cache turned performed by the resolving library or by an external caching layer,
off, Wget will repeat the DNS lookup for every connect and will thus get such as NSCD.
the correct dynamic address every time---at the cost of additional DNS
lookups where they're probably not needed.
If you don't understand the above description, you probably won't need If you don't understand exactly what this option does, you probably
this option. won't need it.
@cindex file names, restrict @cindex file names, restrict
@cindex Windows file names @cindex Windows file names
@ -1065,7 +1063,7 @@ Write down the name and value of the cookie, and manually instruct Wget
to send those cookies, bypassing the ``official'' cookie support: to send those cookies, bypassing the ``official'' cookie support:
@example @example
wget --cookies=off --header "Cookie: @var{name}=@var{value}" wget --no-cookies --header "Cookie: @var{name}=@var{value}"
@end example @end example
@cindex saving cookies @cindex saving cookies