Skip to content

Don't show result when fping a domain with DNS error  #357

@tinyhare

Description

@tinyhare

I use fping to do check with domain and ip mixed,like this:

root@linux:~# fping 8.8.8.8 google.com -q -c 3
8.8.8.8    : xmt/rcv/%loss = 3/3/0, min/avg/max = 55.1/64.1/76.7
google.com : xmt/rcv/%loss = 3/3/0, min/avg/max = 125/131/136

When the network breakdown,DNS is out of work,and after the DNS cache expired,
the result looks like this:no domain result

root@linux:~# fping 8.8.8.8 google.com -q -c 3
8.8.8.8 : xmt/rcv/%loss = 3/0/100

If there is a domain result will simplify the script logic afterwards.

I want the result like this:

root@linux:~# fping 8.8.8.8 google.com -q -c 3
8.8.8.8 : xmt/rcv/%loss = 3/0/100
google.com : xmt/rcv/%loss = 0/0/100

Should this be a new feature?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions