On Sun Jan  3 12:00:39 PST 2016, 23h...@gmail.com wrote:
> -4 and -6 should error when used with an ip of the wrong type. when
> used with domains correct behavior should be trivial and if there's no
> dns response for A or AAAA it should error once again.

i spent some time thinking about this problem.

the purpose of -6 is to force icmpv6.  (one can use a v4 address
with icmpv6, that works due to ipv4 embedding.)  this is not the same as
controlling name lookup.  since there are better more flexible tools
for doing that by hand.  the result can be fead to ip/ping.

it's kind of an ugly problem.

- erik

Reply via email to