On Wed, Jan 22, 2025 at 09:13:35AM -0500, Greg Wooledge wrote:
> On Wed, Jan 22, 2025 at 14:56:54 +0100, to...@tuxteam.de wrote:
> > Yes, that would be totally useful. As has been stated in this
> > list last days, ping actually does two things for you:
> > 
> >  - resolve the host's name to an IP address
> >  - check connectivity to that host
> 
> Well, three really.  It resolves the argument to an IP address if it
> wasn't already one.  It sends ICMP packets to that IP address.
> It listens for responses.

[...]

Of course, your answer is much more precise than mine. I'm somewhat
sloppy :-)

> It's not possible to differentiate the various failure states using ping
> alone (at least not from a single host), but it's a good starting point.

This is why I subsumed (with quite a bit of handwaving) all the "other
cases" (beyond name resolution) under "connectivity to that host".

Cheers
-- 
t

Attachment: signature.asc
Description: PGP signature

Reply via email to