On Tue, Jun 20, 2000 at 10:36:44PM +0100, Kenn Humborg mentioned:
> On Tue, Jun 20, 2000 at 07:09:21PM +0100, John Looney wrote:
> > Hmm. Just noticed some more ICMP replies. SEQ=1,2,3 and
> > time=34,74000,148000ms respectively.
>> Hmmm. 148000 == 74000 * 2. Doesn't this look like an
> exponential back-off progression?
Turned out that it was because for some stupid reason, ping tries to do a
DNS lookup on the IP it's trying to ping. So, the 74000ms is the 74
seconds before it decides that it can't resolve the hostname. And, it
reports the time as the time to ping *and* the time to resolve the
hostname, if it's not in the NS cache. And in that case, the nameserver
was over a router that was misconfigured.
The words of the unwary are apt to cause needless pain and bloody violence.
- Zen Master Greg
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!