To get your public IP address from the command line (the reason why I wrote this): 1) No curl?
This interface can also be used for different response formats and uses:
|https://in.je/ip/bin||- Binary string (0's and 1's)|
|https://in.je/ip/dns||- DNS hostname lookup|
|https://in.je/ip/geo||- Geographical information|
|https://in.je/ip/geojson||- Geographical information (JSON)|
|https://in.je/ip/hex||- Hexadecimal string|
|https://in.je/ip/long||- Long integer unsigned|
|https://in.je/ip/rdns||- rDNS reverse DNS lookup|
|https://in.je/ip/sh||- Shell script|
|https://in.je/ip/soap||- SOAP (WSDL)|
If you have any other suggestions, please send them to email@example.com.
1 If you don't have curl, you can use for example: wget -qO - in.je/ip
© 2017-2020 by PHPfreelancer.nl with