How to query public IP Address on Linux