Started this service a few months ago. Hopefully it helps some people out. Works with TELNET, SSH, and HTTP (curl or wget).
Usage:
telnet telnetmyip.com ssh telnetmyip.com curl telnetmyip.com wget -qO- telnetmyip.com
It always returns a JSON formatted response that is easy to read but can be picked up with a JSON library if you want to use it programmatically.
The service works for IPv4 and IPv6 so it is up to your client to decide if it likes the A or AAAA DNS record returned. If you want to test a specific stack, then you can use ipv4.telnetmyip.com or ipv6.telnetmyip.com.
sshmyip.com also contains all the same DNS records so you can use that if it is easier to remember.
Code can be found at the GitHub Page
No comments:
Post a Comment