ipify-api icon indicating copy to clipboard operation
ipify-api copied to clipboard

Front page ipify.org shows wrong example for IPv6

Open snwfdhmp opened this issue 5 years ago • 6 comments

One picture is better than a thousand words.

image

Maybe I'm mistaking but to my knowledge this is not an IPv6 address.

snwfdhmp avatar Oct 17 '19 06:10 snwfdhmp

Funnily enough even their IPv6 endpoint returns IPv4 addresses sometimes.

Razoralpha avatar Nov 10 '19 13:11 Razoralpha

#43 is probably related

NiKiZe avatar Jan 06 '22 14:01 NiKiZe

thanks @NiKiZe. is it solved now?

snwfdhmp avatar Feb 08 '22 10:02 snwfdhmp

Let's see (in the end, well no)

  • api.ipify.org only IPv4
  • api64.ipify.org both v4 and v6
  • api6.ipify.org only IPv6 - so #43 and #47 Is resolved and api6 now only has v6 DNS record, and thus only gives v6 address back.

https://ipify.org however connects to api.ipify.org and api64.ipify.org (note that it changed from api6) So it does give you back v6, if v6 is preferred in your browser/client.

I think that ipify.org should switch to use api6.ipify.org instead of api64.ipify.org. (and switch back to show "IPv6" instead of "IPv4(v6)") If you currently get a v4 address, it means IPv6 is not working, not preferred or is slower then v4 to respond.

NiKiZe avatar Feb 08 '22 18:02 NiKiZe

i see ...

from what i see on the website, the current explanation is not clearer now :

image

  1. We can read IPv4(v6) which is unclear to me
  2. The endpoint still serves the IPv4 address

snwfdhmp avatar Feb 09 '22 10:02 snwfdhmp

i see ...

from what i see on the website, the current explanation is not clearer now :

image

  1. We can read IPv4(v6) which is unclear to me
  2. The endpoint still serves the IPv4 address

I fully agree, something is odd here.

Not sure if there is any misunderstanding, I'm just someone that was reading all ipv6 related issues on the project and connected some issues togheter, while also pointing out some changes done to the site since issues was created.

NiKiZe avatar Feb 09 '22 14:02 NiKiZe