mpolden / echoip

IP address lookup service
https://ifconfig.co
BSD 3-Clause "New" or "Revised" License
4.01k stars 526 forks source link

feature request: provide ipv4 only subdomain #168

Open nanderer opened 1 year ago

nanderer commented 1 year ago

hi,

could you provide a subdomain like 4.ifconfig.co i.e. 4.ipconfig.io that has only an A record so i can get my ipv4 a address using a browser if i have also an ipv6 address?

thanks in advance

ghost commented 1 year ago

As of 2018-07-25 it's no longer possible to force protocol using the v4 and v6 subdomains. IPv4 or IPv6 still can be forced by passing the appropiate flag to your client, e.g curl -4 or curl -6.

bpsib commented 3 days ago

Because it goes through Cloudflare and that doesn't have v4 and v6 only options.