Overview No dependency, lightweight and fast way to get your ip. The OpenDNS is not as stable as google's dns server, so here I use the 8.8.8.8. Example: link