Created
May 5, 2022 07:38
-
-
Save darth-veitcher/215d972491cbaebab4d9182c9ace4bd7 to your computer and use it in GitHub Desktop.
Get current IP from google.com
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
dig -4 TXT +short o-o.myaddr.l.google.com @ns1.google.com | awk -F'\"' '{ print $2}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Combine with Zone DNS Updates for Cloudflare: