[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ping: slow with low latency?



Hello,

green a écrit :
> 
> $ time ping -c1 vps-fqdn
> PING vps-fqdn (64.n.n.n) 56(84) bytes of data.
> 64 bytes from 64.n.n.n: icmp_req=1 ttl=43 time=60.1 ms
> 
> --- vps-fqdn ping statistics ---
> 1 packets transmitted, 1 received, 0% packet loss, time 0ms
> rtt min/avg/max/mdev = 60.156/60.156/60.156/0.000 ms
> 
> real	0m5.145s
> user	0m0.000s
> sys	0m0.000s
> 
> 
> Why does it take 5 seconds to receive a 60 ms ping reply?

Probably because of the reverse DNS resolution which timed-out.
Try ping -n to avoid reverse DNS resolution.
Also try to reverse resolve 64.n.n.n with {dig,host,nslookup} and see
what happens.


Reply to: