Fork me on GitHub
$ curl http://www.remoteAddress.net/api/ip
{
    "address": "54.82.49.125",
    "hostname": "ec2-54-82-49-125.compute-1.amazonaws.com"
}
            
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