←back to thread

980 points nkcmr | 1 comments | | HN request time: 0s | source
Show context
madars ◴[] No.27415924[source]
Thanks for all your hard work! icanhazip.com / icanhazptr.com have been incredibly useful.

Small feature request: back in the day {ipv4,ipv6}.{icanhazptr,icanhazip}.com only had A / AAAA records, but now it seems they have both and thus a simple "curl ipv4.icanhzptr.com" can also give me a v6 address (of course, "curl -4" works). Would Cloudfare be OK with separating them again?

replies(2): >>27417303 #>>27417984 #
tomschlick ◴[] No.27417984[source]
http://v4.icanhazip.com/ seems to return just the v4 address, same with http://v6.icanhazip.com/
replies(1): >>27418755 #
1. madars ◴[] No.27418755[source]
Yep, same here -- no AAAA record for v4.icanhazip and no A record for v6.icanhazip . The documented interfaces were ipv4/ipv6 though https://major.io/icanhazip-com-faq/ and {v4,v6}.icanhazptr.com have both A and AAAA.