{"id":13562229,"url":"https://github.com/pboehm/ddns","last_synced_at":"2025-10-14T12:58:33.491Z","repository":{"id":18363336,"uuid":"21543549","full_name":"pboehm/ddns","owner":"pboehm","description":"A self-hosted Dynamic DNS solution similar to DynDNS or NO-IP","archived":false,"fork":false,"pushed_at":"2021-11-27T15:47:58.000Z","size":222,"stargazers_count":787,"open_issues_count":15,"forks_count":114,"subscribers_count":26,"default_branch":"master","last_synced_at":"2025-04-03T18:41:28.838Z","etag":null,"topics":["ddns","dynamic-dns-solution","dyndns","go","webservice"],"latest_commit_sha":null,"homepage":null,"language":"Go","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/pboehm.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}},"created_at":"2014-07-06T16:16:45.000Z","updated_at":"2025-03-23T01:55:27.000Z","dependencies_parsed_at":"2022-08-07T09:00:39.921Z","dependency_job_id":null,"html_url":"https://github.com/pboehm/ddns","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/pboehm/ddns","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pboehm%2Fddns","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pboehm%2Fddns/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pboehm%2Fddns/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pboehm%2Fddns/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pboehm","download_url":"https://codeload.github.com/pboehm/ddns/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pboehm%2Fddns/sbom","scorecard":{"id":724849,"data":{"date":"2025-08-11","repo":{"name":"github.com/pboehm/ddns","commit":"82a5891ba327f8a45b671b31dc10312890ae755d"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.7,"checks":[{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Code-Review","score":1,"reason":"Found 3/19 approved changesets -- score normalized to 1","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Pinned-Dependencies","score":5,"reason":"dependency not pinned by hash detected -- score normalized to 5","details":["Warn: containerImage not pinned by hash: docker/ddns/Dockerfile:1: pin your Docker image by updating golang:alpine to golang:alpine@sha256:244baa35bcfaf9a5b3444519df6d42554a1f92dc33820bd98f0662df270d8a6a","Warn: containerImage not pinned by hash: docker/powerdns/Dockerfile:1: pin your Docker image by updating buildpack-deps:stretch-scm to buildpack-deps:stretch-scm@sha256:0b5ce805d045fe181f2e07afe6be3cef67b0e5485660da6fa45a4b763e44f1ff","Info:   0 out of   2 containerImage dependencies pinned","Info:   2 out of   2 goCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 18 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":5,"reason":"5 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GO-2020-0001 / GHSA-6vm3-jj99-7229","Warn: Project is vulnerable to: GHSA-869c-j7wc-8jqv","Warn: Project is vulnerable to: GO-2021-0052 / GHSA-h395-qcrw-5vmq","Warn: Project is vulnerable to: GHSA-3vp4-m3rf-835h","Warn: Project is vulnerable to: GO-2023-1737 / GHSA-2c4m-59x9-fr2g"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-22T12:28:48.655Z","repository_id":18363336,"created_at":"2025-08-22T12:28:48.655Z","updated_at":"2025-08-22T12:28:48.655Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279018577,"owners_count":26086583,"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-14T02:00:06.444Z","response_time":60,"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":["ddns","dynamic-dns-solution","dyndns","go","webservice"],"created_at":"2024-08-01T13:01:05.972Z","updated_at":"2025-10-14T12:58:33.475Z","avatar_url":"https://github.com/pboehm.png","language":"Go","funding_links":[],"categories":["Go","Repositories"],"sub_categories":[],"readme":"# `ddns` - Dynamic DNS\n\n[![CircleCI](https://img.shields.io/circleci/build/github/pboehm/ddns?style=flat)](https://circleci.com/github/pboehm/ddns)\n[![Docker Image Size (tag)](https://img.shields.io/docker/image-size/pboehm/ddns/latest?logo=Docker)](https://hub.docker.com/r/pboehm/ddns)\n[![Docker Pulls](https://img.shields.io/docker/pulls/pboehm/ddns?logo=Docker)](https://hub.docker.com/r/pboehm/ddns)\n[![GitHub](https://img.shields.io/github/license/pboehm/ddns?style=flat)](https://github.com/pboehm/ddns)\n\n\nA self-hosted Dynamic DNS solution similar to DynDNS or NO-IP based on the\n[PowerDNS Remote Backend](https://doc.powerdns.com/md/authoritative/backend-remote/).\n\n\u003cimg src=\"screenshot.png\" alt=\"screenshot\" width=\"500\"/\u003e\n\n\n## ⚠️⚠️⚠️ Note regarding hosted version at `ddns.pboehm.de`\n\nThe hosted `ddns` service with custom hosts under the `d.pboehm.de` domain (e.g `test.d.pboehm.de`) is not available\nanymore! I did not use this service for quite some time and recently there were some issues which resulted in downtime\nand expiration of all registered hosts.\n\n### Alternatives\n\nThere is at least one other hosted version of `pboehm/ddns` that\n[can be found via Google](https://www.google.com/search?q=pboehm%2Fddns+%22DDNS+is+a+project+that+lets+you+host+a+Dynamic+DNS+Service%2C+similar+to+DynDNS%2FNO-IP%2C+on+your+own+servers.%22)\nor you can host it yourself as described below.\n\n## How can I update my IP if it changes?\n\n`ddns` is built around a small webservice, so that you can update your IP address simply by calling\nan URL periodically through `curl`. Hosts that haven't been updated for 10 days will\nbe automatically removed. This can be configured in your own instance.\n\nAn API similar to DynDNS/NO-IP has not been implemented yet.\n\n## Self-Hosting\n\n### Requirements\n\n* A custom domain where the registrar allows setting `NS` records for subdomains. This is important because not all\n  DNS providers support this.\n* A server with [docker](https://www.docker.com/) and [docker-compose](https://docs.docker.com/compose/) installed\n* The following ports should be opened in the firewall:\n  * `53/udp`\n  * `80/tcp`\n  * `443/tcp`\n\n### DNS-Setup\n\nFor the domain you want to use with `ddns` (`example.net` in the following sections, please adjust this to your domain)\nyou have to create the following two DNS records:\n\n* `ddns.example.net` as a `CNAME` or `A`/`AAAA` record pointing to the server `ddns` will be running on. This record\n  will be used for accessing the `ddns` frontend in your browser or via `curl`. It is also the target for the\n  corresponding `NS` record.\n* `d.example.net` as an `NS` record pointing to the previously created `ddns.example.net` record. This will delegate\n  all subdomains under `d.example.net` to the PowerDNS server running on `ddns.example.net`.\n\n### `ddns`-Setup\n\nThe setup is now automated using [docker-compose](https://docs.docker.com/compose/) and only some customization has\nto be made in a `docker-compose.override.yml` file\n(a [sample](./docker/docker-compose.override.yml.sample) is available here).\n\n#### Configuring the Setup\n\nThe setup included in this repository contains all the components described above and uses\n[caddy](https://caddyserver.com/) as a web server, because it provides automatic HTTPS using Lets Encrypt.\n\n```\ngit clone git@github.com:pboehm/ddns.git\ncd ddns/docker\ncp docker-compose.override.yml.sample docker-compose.override.yml\n```\n\nPlease adjust the settings in `docker-compose.override.yml` marked with the `#\u003c\u003c\u003c ....` comments as follows:\n\n* adjust the domain part in lines marked with `# \u003c\u003c\u003c ADJUST DOMAIN` according to your DNS-Setup\n* insert your email address in lines marked with `# \u003c\u003c\u003c INSERT EMAIL` which is required for getting certificates\n  from Lets Encrypt\n\nFinally execute the following `docker-compose` command, which creates 4 containers in detached mode which are also\nstarted automatically after reboot. For updating an existing installation use the same command because it automatically\nrebuilds the containers.\n\n```\ndocker-compose --project-name ddns up -d --build\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpboehm%2Fddns","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpboehm%2Fddns","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpboehm%2Fddns/lists"}