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
#!/bin/bash | |
zoneidentity="put here" | |
dnsidentity="put here" | |
authtoken="put here" | |
domain="put here" | |
myip="$(dig +short myip.opendns.com @resolver1.opendns.com)" | |
echo "Detected WAN IP address: ${myip}" |