Frequently Asked Question
To discover your public IP using a command line, open a command prompt and use:
nslookup myip.opendns.com. resolver1.opendns.com
resolver1.opendns.com DNS server to resolve the magical
myip.opendns.com. hostname to your ip address.
.on the myip.opendns.com. lookup prevents search domains from being appended, which can yield incorrect results.)