From mboxrd@z Thu Jan 1 00:00:00 1970 From: erik quanstrom Date: Sun, 3 Jan 2016 12:04:54 -0800 To: 9fans@9fans.net Message-ID: <16d44a618c1c80e6486ead964a11822a@mule> In-Reply-To: References: <4AE7714E-C18F-4897-ACC1-4F8D35C858AE@ar.aichi-u.ac.jp> <2F96B09F-7524-473A-B883-9A7B7DD09978@ar.aichi-u.ac.jp> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: Re: [9fans] bug or feature ? --- ip/ping -6 Topicbox-Message-UUID: 7de6a5b4-ead9-11e9-9d60-3106f5b1d025 On Sun Jan 3 12:00:39 PST 2016, 23hiro@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