[Slackbuilds-users] Download links.
erik at slackbuilds.org
Fri Aug 24 21:35:33 UTC 2007
On Aug 24, 2007, at 3:45 PM, Kyle Guinn wrote:
> On 8/24/07, core <eroc at linuxmail.org> wrote:
> > And finally, the last two urls works without '-T 5', so my recomendation is make use of '-T 5'. ;)
> I'm sure not everyone uses wget to download tarballs from sourceforge.
> I tend to use the download links on the website, and whenever I come
> across a "dl.sourceforge.net" seamonkey will timeout after several
> minutes. I know to replace "dl" with "downloads" in this case to get
> a quicker download, but to someone else browsing the site, this will
> look like a dead link.
The reasoning behind this is that "dl" is a round-robin domain with a
dozen or so mirrors and "downloads" is a very slow, last resort mirror.
[16:22:38] <erik at shaggy:~> host downloads.sourceforge.net
downloads.sourceforge.net is an alias for sourceforge.net.
sourceforge.net has address 188.8.131.52
sourceforge.net mail is handled by 10 mail.sourceforge.net.
[16:22:41] <erik at shaggy:~> host dl.sourceforge.net
dl.sourceforge.net has address 184.108.40.206
dl.sourceforge.net has address 220.127.116.11
dl.sourceforge.net has address 18.104.22.168
dl.sourceforge.net has address 22.214.171.124
dl.sourceforge.net has address 126.96.36.199
dl.sourceforge.net has address 188.8.131.52
dl.sourceforge.net has address 184.108.40.206
dl.sourceforge.net has address 220.127.116.11
dl.sourceforge.net has address 18.104.22.168
dl.sourceforge.net has address 22.214.171.124
dl.sourceforge.net has address 126.96.36.199
dl.sourceforge.net has address 188.8.131.52
dl.sourceforge.net has address 184.108.40.206
dl.sourceforge.net has IPv6 address 2001:770:18:2::1:2
Ideally, your DNS server should pick one at random (I think) but it's
always picking the first IP which is a dead connection for you or your
ISP. Hence giving a low time-out value to wget (-T 1, or 1 second)
causes it to basically skip that first mirror.
In my experience, if I use my ISP's DNS servers I have the same problem,
but when I use 127.0.0.1, the pre-configured BIND included with Slackware
(/etc/rc.d/rc.bind start) the problem goes away, a random mirror is
chosen every time.
Also, I believe there are some policies in place against using "downloads"
for direct linking, but it's been a few years since I've had to use SF
for hosting so I'm not sure what they might want people doing these days.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 189 bytes
Desc: not available
Url : http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20070824/0380bcd5/attachment-0002.bin
More information about the Slackbuilds-users