{"repo":"ddries/d2c.sh","free":true,"listed":false,"github":"https://github.com/ddries/d2c.sh","clone":"git clone https://github.com/ddries/d2c.sh.git","description":"The lightweight IPv4/IPv6 dynamic DNS updater for Cloudflare.","language":"Shell","stars":228,"topics":["bash","cloudflare","cloudflare-dynamic-dns","cloudflare-dynamic-ip","dns","dynamic-dns","dynamic-dns-updater","dynamic-ip","ipv4","ipv6"],"license":"GPL-3.0","category":"networking-infra","readme_excerpt":"d2c.sh The lightweight IPv4/IPv6 dynamic DNS updater for Cloudflare. --- d2c.sh is a simple Bash script that automatically updates A and AAAA DNS records on Cloudflare for your machine’s public IP. Configure [!WARNING] d2c.sh updates existing records. Make sure to create them in the Cloudflare dashboard before running d2c.sh. By default, configuration files are read from /etc/d2c/ . You can override the configuration directory using the -c / --config option. It processes all files in the configuration directory that end with .toml , e.g., /etc/d2c/d2c.toml , /etc/d2c/zone1.toml or /etc/d2c/zone2.toml . [!WARNING] Make sure to create the correct type of record (A or AAAA) according to IPv4 or IPv6, as d2c.sh will ignore misconfigured records. Usage Method 1: Installing d2c.sh Clone the repository: Install the script: Now, you can run d2c.sh from the command-line. If the configuration directoy does not exist, the script will create it for you. Fill the configuration file(s) with your zone id, API key and the desired DNS': Finally, you can run manually d2c.sh or set up a cronjob to update periodically: Method 2: Executing from URL You can also execute d2c.sh avoiding the installation. Note that you must still have valid configuration file(s), e.g. /etc/d2c/d2c.toml . Execute from URL: To run periodically without installing, you can write your own script: Method 3: Docker You can use the provided Dockerfile to build a Docker image of d2c.sh: Then, you can run it using your own Do","default_branch":null,"files":null,"tree":[],"storefront":"/r/ddries","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/ddries/d2c.sh/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}