Last active
December 19, 2023 14:39
-
-
Save detj/154d44ef1c12baa90bb19cce49b4f758 to your computer and use it in GitHub Desktop.
Get public IP
This file contains hidden or 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
# may or may not work | |
dig -4 TXT +short o-o.myaddr.l.google.com @ns1.google.com | |
curl icanhazip.com | |
curl ifconfig.me |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment