Added public ip resolve.

This in commented by default.
Merge pull request #2 from knalli/feature/publicIp

Added public ip resolve.