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
| #!/usr/bin/env python3 | |
| """ | |
| This script updates Cloudflare DNS A records for specified domains to point to | |
| the current public IP address of the machine running the script. If a domain | |
| does not have an existing A record, it creates one. | |
| """ | |
| import requests | |
| from typing import List, Optional |