Fork me on GitHub
$ curl http://www.remoteAddress.net/api/ip
{
    "address": "10.237.165.150",
    "hostname": "ip-10-237-165-150.ec2.internal"
}
            
NB! hostname is only included in the response if it could be resolved.

This service resolves hostnames and IP addresses for Nodemailer resolveHostname option. Powered by OpenShift