Hi,

On Wed, Aug 13, 2014 at 04:04:25AM -0700, aseq...@gmail.com wrote:
> Good morning, just discovered this excelent tool, and I am using it to 
> monitor some internal infrastructure, I have proper dns setup for all, but 
> still I'd like to see the ips for the affected hosts.
> 
> This is the current situation (with and without -d flag)
> 
> > $ fping 8.8.8.8 -d
> > google-public-dns-a.google.com is alive
> > $ fping 8.8.8.8
> > 8.8.8.8 is alive
> 
> 
> Is possible to get an output like
> 
> > 8.8.8.8 (google-public-dns-a.google.com) is alive

Neat idea!

A temporary solution may be this:

$ fping -a -q 8.8.8.8 8.8.4.4 8.4.4.8 | xargs -n1 host
8.8.8.8.in-addr.arpa domain name pointer google-public-dns-a.google.com.
4.4.8.8.in-addr.arpa domain name pointer google-public-dns-b.google.com.
$

(The "alive" is implicit since only hosts being alive were listed.)

                Kind regards, Axel
-- 
/~\  Plain Text Ribbon Campaign                   | Axel Beckert
\ /  Say No to HTML in E-Mail and News            | a...@deuxchevaux.org  (Mail)
 X   See http://www.nonhtmlmail.org/campaign.html | a...@noone.org (Mail+Jabber)
/ \  I love long mails: http://email.is-not-s.ms/ | http://noone.org/abe/ (Web)

-- 
You received this message because you are subscribed to the Google Groups 
"fping-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to fping-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to