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 | |
# | |
# This is a Bash script to update a Netlify subdomain A record with the current external IP. | |
# | |
# Repo: https://github.com/skylerwlewis/netlify-ddns | |
# Gist: https://gist.github.com/skylerwlewis/ba052db5fe26424255674931d43fc030 | |
# | |
# Usage: | |
# netlify-ddns.sh <ACCESS_TOKEN> <DOMAIN> <SUBDOMAIN> <TTL> [<CACHED_IP_FILE>] | |
# |