[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-inetutils] inetutils-ping6: Failing to resolve IPv6 address sho
From: |
Mats Erik Andersson |
Subject: |
Re: [bug-inetutils] inetutils-ping6: Failing to resolve IPv6 address should not show error |
Date: |
Wed, 3 Jul 2013 22:35:00 +0200 |
User-agent: |
Mutt/1.5.18 (2008-05-17) |
måndag den 1 juli 2013 klockan 10:05 skrev Guo Chunrong-B40290 detta:
> Hello,
>
> For instance:
> inetutils-ping6
> $ ping6 2001:910:1059:2::1
> PING 2001:910:1059:2::1 (2001:910:1059:2::1): 48 data bytes
> ping: getnameinfo: Temporary failure in name resolution
> 56 bytes from unknown: icmp_seq=0 ttl=64 time=0.082 ms
>
> This is not really pretty (and the numeric address could at least be
> shown instead of "unknown", by passing NI_NUMERICHOST to getnameinfo).
inetutils-ping6 is conceived to expect symbolic name resolution.
Should anyone disagree, iputils-ping6 is available with a different
default behaviour. Given compelling evidence, most design decisions
are available for discussion, but at present this is where this
project stands.
> Iputils-ping does not show this:
>
> # ping6 2001:910:1059:2::1
> PING 2001:910:1059:2::1(2001:910:1059:2::1) 56 data bytes
> 64 bytes from 2001:910:1059:2::1: icmp_seq=1 ttl=64 time=0.047 ms
>
> How do fix the issue ?
$ ping6 -n -c2 2001:910:1059:2::1
is your obvious choice. The switch '-n/--numeric' relaxes the default
behaviour.
Thank you for sharing your concerns.
Mats Erik Andersson, member of GNU Inetutils