Created
July 1, 2018 08:20
-
-
Save Nklya/d756c1a210a986ff27b4601b829e5fcd to your computer and use it in GitHub Desktop.
How to detect external IP
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. Facts from ansible module ipify_facts https://docs.ansible.com/ansible/2.5/modules/ipify_facts_module.html | |
2. curl ifconfig.co | |
3. When http is blocked: dig +short myip.opendns.com @resolver1.opendns.com |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment