{"id":10609774,"url":"https://github.com/fabriziosalmi/dnscontrol-actions","last_synced_at":"2025-03-18T22:31:16.094Z","repository":{"id":242326169,"uuid":"688876016","full_name":"fabriziosalmi/dnscontrol-actions","owner":"fabriziosalmi","description":"Automate DNS updates and rollbacks across multiple providers using DNSControl and GitHub Actions","archived":false,"fork":false,"pushed_at":"2025-03-13T19:15:02.000Z","size":42,"stargazers_count":15,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-13T20:27:40.811Z","etag":null,"topics":["aws-route53","cloudflare","configuration-management","dns","dns-automation","dns-backup","dns-management","dns-manager","dns-rollback","dnscontrol","github-action","github-actions","multi-provider","powerdns"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fabriziosalmi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":["fabriziosalmi"]}},"created_at":"2023-09-08T09:38:50.000Z","updated_at":"2025-03-13T19:15:06.000Z","dependencies_parsed_at":"2024-06-02T09:25:12.551Z","dependency_job_id":"3c436c2d-145d-4add-a065-3b2bc6af9738","html_url":"https://github.com/fabriziosalmi/dnscontrol-actions","commit_stats":null,"previous_names":["fabriziosalmi/dnscontrol-actions"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fabriziosalmi%2Fdnscontrol-actions","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fabriziosalmi%2Fdnscontrol-actions/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fabriziosalmi%2Fdnscontrol-actions/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fabriziosalmi%2Fdnscontrol-actions/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fabriziosalmi","download_url":"https://codeload.github.com/fabriziosalmi/dnscontrol-actions/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243950927,"owners_count":20373664,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["aws-route53","cloudflare","configuration-management","dns","dns-automation","dns-backup","dns-management","dns-manager","dns-rollback","dnscontrol","github-action","github-actions","multi-provider","powerdns"],"created_at":"2024-06-02T09:16:03.332Z","updated_at":"2025-03-18T22:31:15.863Z","avatar_url":"https://github.com/fabriziosalmi.png","language":"JavaScript","funding_links":["https://github.com/sponsors/fabriziosalmi"],"categories":["JavaScript"],"sub_categories":[],"readme":"# DNSControl Actions\n\nEasily update, push, and rollback your DNS configuration using [DNSControl](https://github.com/StackExchange/dnscontrol) and [GitHub Actions](https://github.com/features/actions)\n\n[![Update DNS Configuration](https://github.com/fabriziosalmi/dnscontrol-actions/actions/workflows/update.yml/badge.svg)](https://github.com/fabriziosalmi/dnscontrol-actions/actions/workflows/update.yml) [![Rollback DNS Configuration](https://github.com/fabriziosalmi/dnscontrol-actions/actions/workflows/rollback-latest.yml/badge.svg)](https://github.com/fabriziosalmi/dnscontrol-actions/actions/workflows/rollback-latest.yml)\n\n## Features\n\n- **DNS configuration CD/CI** using DNSControl and GitHub Actions.\n- **Preview DNS changes** upon each update to dnsconfig.js.\n- **Manual push** configuration for safer DNS updates.\n- Option to **rollback to a previous DNS configuration** in case of errors.\n- Support for **multiple DNS providers** for enhanced **redundancy**.\n- Optional: send notification via Apprise on rollback\n\n## How to Use\n\n#### Initialization\n- Clone or fork this repository\n- If You forked it set repository visibility to **private**\n\n#### Setup Credentials:\n- Refer to creds.json for example configurations of popular DNS providers.\n- Populate the appropriate fields with your credentials.\n- For security, use repository action secrets for sensitive information (e.g., `CLOUDFLARE_API_USER` and `CLOUDFLARE_API_TOKEN`).\n- Remember to give workflows read/write permissions (https://github.com/user/repo/settings/actions)\n\n#### Configure DNS:\n- Edit and save your DNS settings in dnsconfig.js.\n- This will automatically trigger the \"Update DNS\" action.\n\n#### Push Configuration:\n- After the update action has successfully executed, you can manually trigger the \"Push Configuration\" action to propagate DNS updates.\n\n#### Rollback (if needed):\n- If there are issues with the DNS update, manually trigger the \"Rollback\" action to restore the previous configuration.\n\n## Advanced Configuration\n\n- Multi-provider Redundancy: Define multiple DNS providers in dnsconfig.js to achieve redundancy across providers. Example: Using both Cloudflare and AWS.\n- Note: When using Cloudflare's proxying feature in combination with another DNS provider, ensure you handle the logic behind these proxies. \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffabriziosalmi%2Fdnscontrol-actions","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffabriziosalmi%2Fdnscontrol-actions","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffabriziosalmi%2Fdnscontrol-actions/lists"}