Hi,
DNS is slow to resolve under certain situations. A ping to a random domain will resolve almost instantly:
It's a different story when it comes to wget against a fast HTTP server:
I'm currently using Google DNS. The same issue occurs if I switch to OpenDNS.
Any ideas?
Cheers.
DNS is slow to resolve under certain situations. A ping to a random domain will resolve almost instantly:
Code:
root@debian:~# time ping -c 1 bbc.co.uk
PING bbc.co.uk (212.58.224.138) 56(84) bytes of data.
64 bytes from virtual-vip.thdo.bbc.co.uk (212.58.224.138): icmp_req=1 ttl=122 time=31.8 ms
--- bbc.co.uk ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 31.805/31.805/31.805/0.000 ms
real 0m0.125s
It's a different story when it comes to wget against a fast HTTP server:
Code:
root@debian:~# time wget http://www.thinkbroadband.com/images/header/thinkbroadband-white.png
--2011-04-03 16:58:06-- http://www.thinkbroadband.com/images/header/thinkbroadband-white.png
Resolving www.thinkbroadband.com... 80.249.99.130, 2a02:68:1::4
Connecting to www.thinkbroadband.com|80.249.99.130|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 4015 (3.9K) [image/png]
Saving to: `thinkbroadband-white.png.1'
100%[======================================>] 4,015 --.-K/s in 0.03s
2011-04-03 16:58:11 (124 KB/s) - `thinkbroadband-white.png.1' saved [4015/4015]
real 0m5.202s
I'm currently using Google DNS. The same issue occurs if I switch to OpenDNS.
Any ideas?
Cheers.
Last edited: