Skip to content

Please add a (n)oping option to ping all IP addresses (i.e. both, IPv4 and IPv6) for given hostnames #52

@xtaran

Description

@xtaran

A very common noping use case for me is to check when a server comes up after reboot. For that I want to check both, IPv4 and IPv6 addresses of the same host, i.e. for the same hostname.

Currently I do this like this:

noping $(host someserver.example.org | sed -e 's/^.* address //')

It would be nice if noping would have an option to ping all IP addresses a hostname resolves, too, especially A and AAAA records. I suggest to use -5 as it is between -4 and -6, but -a or -A would be fine as well. Would then look like this:

noping -5 someserver.example.org

I guess oping itself (which I nearly never use) should get the same option, too.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions