http://ifconfig.co might satisfy you, works on both http and https for
ipv6, no redirect

$ curl -6 http://ifconfig.co
2a02:8011:401d:xx::yy

$ curl -6 https://ifconfig.co
2a02:8011:401d:xx::yy

$ curl -4 ifconfig.co
52.18.x.x

it's quite a handy hostname to use when you want to know your public IP

Reply via email to