Sometimes download from Oracle Technology Network (OTN) is really slow, but it may not be Oracle’s fault. Oracle is using Akamai Technologies to distribute the software. You can see this if you do an nslookup on download.oracle.com and see it resolves (finally) to a host under akamai.net.
They have servers all over the world and when things work as they are supposed to the box on your end should connect to a host physically near you and not on another continent. If your download is really slow find the IP address that your DNS resolves for download.oracle.com (or the host you are downloading from) and then use a geo-lookup site to see where it is located.
Just now the DNS server for my local ISP (get.no) resolved download.oracle.com to two servers in California:
\[root@rio ~\]# nslookup download.oracle.com Server: 126.96.36.199 Address: 188.8.131.52#53 Non-authoritative answer: download.oracle.com canonical name = download.oracle.com.edgesuite.net. download.oracle.com.edgesuite.net canonical name = a1961.d.akamai.net. Name: a1961.d.akamai.net Address: 184.108.40.206 Name: a1961.d.akamai.net Address: 220.127.116.11 ```I used www.infosniper.net to find where [this host](http://www.infosniper.net/index.php?ip_address=18.104.22.168&map_source=1&overview_map=1&lang=1&map_type=1&zoom_level=7) was located. Me being in Oslo this was obviously not optimal. The only DNS server I can remember is 22.214.171.124 which is one of Google's public DNS servers. I decided to change /etc/resolv.conf to use 126.96.36.199 as the primary DNS server, and download.oracle.com now resolves to two servers in Germany:
[root@rio ~]# nslookup download.oracle.com
download.oracle.com canonical name = download.oracle.com.edgesuite.net.
download.oracle.com.edgesuite.net canonical name = a1961.d.akamai.net.
a1961.d.akamai.net canonical name = a1961.d.akamai.net.0.1.cn.akamaitech.net.
Here is [the link](http://www.infosniper.net/index.php?ip_address=188.8.131.52&map_source=1&overview_map=1&lang=1&map_type=1&zoom_level=7) if you like maps... I then flushed DNS in Firefox, restarted the download, and confirmed with netstat -an that the connection now went to a server in Germany. The download went much faster, well, at least for a while... YMMV. Actually I thought that using Google's DNS server could give a suboptimal response if Google's DNS server was located somewhere far away (like in USA), but clearly they have some magic here that returns an IP address better than the DNS server of my local ISP.