{"id":24870941,"url":"https://github.com/newam/cfddns","last_synced_at":"2026-03-11T09:31:08.860Z","repository":{"id":274261370,"uuid":"922390792","full_name":"newAM/cfddns","owner":"newAM","description":"Cloudflare dynamic DNS client for centralized IPv6 updates on a home network.","archived":false,"fork":false,"pushed_at":"2025-09-28T00:58:21.000Z","size":355,"stargazers_count":2,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-29T12:52:48.912Z","etag":null,"topics":["cloudflare","ddns","ipv6"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/newAM.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-01-26T04:11:40.000Z","updated_at":"2025-09-28T00:58:24.000Z","dependencies_parsed_at":"2025-03-14T16:23:39.316Z","dependency_job_id":"860ffb71-0f8d-43b1-874f-24747f62b857","html_url":"https://github.com/newAM/cfddns","commit_stats":null,"previous_names":["newam/cfddns"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/newAM/cfddns","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/newAM%2Fcfddns","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/newAM%2Fcfddns/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/newAM%2Fcfddns/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/newAM%2Fcfddns/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/newAM","download_url":"https://codeload.github.com/newAM/cfddns/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/newAM%2Fcfddns/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278531930,"owners_count":26002338,"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","status":"online","status_checked_at":"2025-10-05T02:00:06.059Z","response_time":54,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["cloudflare","ddns","ipv6"],"created_at":"2025-02-01T04:17:43.923Z","updated_at":"2025-10-05T22:32:41.000Z","avatar_url":"https://github.com/newAM.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cfddns\n\nCloudflare dynamic DNS client for centralized IPv6 updates on a home network.\n\nThis was created to solve a specific problem I had with IPv6 dynamic DNS on my home network.\n\nAll DDNS clients I found will only update records for the host they are running on.\n\n- With IPv4 this is fine because all devices share a public IPv4 with NAT.\n- With IPv6 this is problematic because many devices are incapable of running a DDNS client.\n\n`cfddns` centralizes all IP updates for a home network on a single host.\n\n- A records are set to the same public IPv4.\n- AAAA records are created using the hosts dynamic IPv6 prefix, and the clients static IPv6 suffix.\n\nIf you have the same problem `cfddns` may be for you.\nFor all other use-cases I recommend [ddclient] because it's much more flexible.\n\n## Features\n\n- NixOS module provided\n- Supports IPv4 and/or IPv6\n- Supports obtaining IP address from an interface, or from an HTTP service such as \u003chttps://icanhazip.com\u003e\n\n### Limitations\n\n- Linux only\n- Systemd unit is provided for NixOS only\n- Built for a home network with a single IPv4 and/or a single IPv6 prefix delegation\n- Assumes IPv6 addresses are allocated with SLAAC or similar mechanism with known IPv6 suffixes\n  - Doesn't support IPv6 privacy extensions\n- Only supports Cloudflare\n\n## NixOS configuration\n\nAdd to your flake inputs:\n\n```nix\n{\n  inputs = {\n    nixpkgs.url = \"github:nixos/nixpkgs/nixos-unstable\";\n\n    cfddns.url = \"github:newAM/cfddns\";\n    cfddns.inputs.nixpkgs.follows = \"nixpkgs\";\n    cfddns.inputs.advisory-db.follows = \"\";\n    cfddns.inputs.treefmt.follows = \"\";\n  };\n\n  # ...\n}\n```\n\nReference `nixos/module.nix` for a complete list of options,\nbelow is an example of my configuration.\n\n```nix\n{\n  cfddns,\n  config,\n  ...\n}: {\n  # import the module, this adds the \"services.cfddns\" options\n  imports = [cfddns.nixosModules.default];\n\n  # add the overlay, this puts \"cfddns\" into \"pkgs\"\n  nixpkgs.overlays = [cfddns.overlays.default];\n\n  # use nix-sops to manage secrets declaratively\n  # https://github.com/Mic92/sops-nix\n  sops.secrets.cfddns.mode = \"0400\";\n\n  # reference module for descriptions of configuration\n  services.cfddns = {\n    enable = true;\n    environmentFiles = [config.sops.secrets.cfddns.path];\n    settings = {\n      a_interface = \"bond-wan\";\n      aaaa_interface = \"br-lan\";\n      zones = [\n        {\n          name = \"example.com\";\n          records = [\n            {\n              name = \"service.example.com\";\n              suffix = \"::aaaa:aaaa:aaaa:aaaa\";\n            }\n          ];\n        }\n      ];\n    };\n  };\n}\n```\n\n[ddclient]: https://github.com/ddclient/ddclient\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnewam%2Fcfddns","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnewam%2Fcfddns","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnewam%2Fcfddns/lists"}