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 | |
# PREREQUISITES: | |
# 1. Ensure you have an active Cloudflare account. | |
# 2. Create an A record for each domain manually in your Cloudflare dashboard. | |
# - You can use a dummy IP address like 1.1.1.1 during setup. | |
# - This script will update the IP automatically during execution. | |
# 3. Obtain your Global API Key from "My Profile" in Cloudflare. | |
# 4. Make sure `curl` is installed on your system. |