For ridiculously easy things like this, I think it's smarter for you to just host it yourself. This way you are not forcing other people to carry your burden. nginx config example: location /ip { add_header Content-Type "application/json"; return 200 '{"host":"$server_name","ip":"$remote_addr","port":"$remote_port","server_ip":"$server_addr","server_port":"$server_port "}\n'; } Which will return something like this i…
Icanhazip: A simple IP address tool survived a deluge of users (2021)
41–50 of 146 posts
Re: Icanhazip: A simple IP address tool survived a deluge of users (2021)
#42It's funny that there are so many of these. I use curl ifconfig.me
It's a fun project if you want to learn to code, which is why I think there're so many of them around. I built and run Accio127[1][2] for the same reason. [1] https://api.accio127.com/v1/ip/ [2] https://git.sr.ht/~jamesponddotco/accio127
Re: Icanhazip: A simple IP address tool survived a deluge of users (2021)
#43Re: Icanhazip: A simple IP address tool survived a deluge of users (2021)
#44Why not use protocols which are specifically designed to report mapped IP address like STUN? It's faster as UDP exchange is shorter than 3-way TCP handshake (or even TCP+TLS handshake). Here is an implementation which uses parallel STUN queries to report address reliably as fast as possible: https://github.com/Snawoot/myip
Nice tool! Looks like a great solution. But unfortunately I don't have it in a random docker/kubernetes containers or random internal servers, and these are the contexts where I personally usually want to check my external IP. They usually have curl though.
Re: Icanhazip: A simple IP address tool survived a deluge of users (2021)
#45Not related to the story of scaling the tech but rather to the IP business in 2023: I’m not affiliated with any of these services, but my goto has been ip4.me, ip6.me, and ip6only.me because they’re short and memorable and because they acknowledge the IPv4/IPv6 split. The first two domains give you your v4 and v6 IP respectively and the latter only resolves over IPv6 (useful to ensure your IPv6 is off when using a VP…
Re: Icanhazip: A simple IP address tool survived a deluge of users (2021)
#46For ridiculously easy things like this, I think it's smarter for you to just host it yourself. This way you are not forcing other people to carry your burden. nginx config example: location /ip { add_header Content-Type "application/json"; return 200 '{"host":"$server_name","ip":"$remote_addr","port":"$remote_port","server_ip":"$server_addr","server_port":"$server_port "}\n'; } Which will return something like this i…
Re: Icanhazip: A simple IP address tool survived a deluge of users (2021)
#47Slightly related: There used to be a DNS server that you could query a TXT record and the response would include the IP of the server that submitted the query. You could use it to debug DNS issues. I thought it was from DNS-OARC but I can't find it anywhere. Does anyone know a way to accomplish this?
With @(dns server ip here) you can query a different dns server to check what their answer is.
With +trace you can go through the complete dns chain from the root servers on to check for issues in the chain.
Sorry if this doesn’t help you or you knew this already.
Re: Icanhazip: A simple IP address tool survived a deluge of users (2021)
#48Slightly related: There used to be a DNS server that you could query a TXT record and the response would include the IP of the server that submitted the query. You could use it to debug DNS issues. I thought it was from DNS-OARC but I can't find it anywhere. Does anyone know a way to accomplish this?
Re: Icanhazip: A simple IP address tool survived a deluge of users (2021)
#49Not related to the story of scaling the tech but rather to the IP business in 2023: I’m not affiliated with any of these services, but my goto has been ip4.me, ip6.me, and ip6only.me because they’re short and memorable and because they acknowledge the IPv4/IPv6 split. The first two domains give you your v4 and v6 IP respectively and the latter only resolves over IPv6 (useful to ensure your IPv6 is off when using a VP…
They have ipv4.icannazip.com and ipv6.icannazip.com where they will return that.
Re: Icanhazip: A simple IP address tool survived a deluge of users (2021)
#50Earlier quoted context omitted.
At $0.085 per GB (some us-east-1 exfil cost Google gave me), 10TB is... ~$1k/day? Yeah sorry, I would not pay $30k/mo so y'all could track your external IP addresses...
That's ridiculous bandwidth pricing. you can get unmetered gigabit at Hetzner for €20 per month. Need 2 Gb? Order a second server.