{"id":21869765,"url":"https://github.com/cha87de/ddns","last_synced_at":"2026-05-09T06:36:53.635Z","repository":{"id":144742995,"uuid":"161899885","full_name":"cha87de/ddns","owner":"cha87de","description":"Dynamic DNS Service (PHP + Bind)","archived":false,"fork":false,"pushed_at":"2019-02-08T15:01:54.000Z","size":12,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-21T22:16:30.827Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cha87de.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"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}},"created_at":"2018-12-15T11:50:55.000Z","updated_at":"2019-02-08T15:01:55.000Z","dependencies_parsed_at":null,"dependency_job_id":"9bac55d0-3a34-46d9-a668-9725b97a9a65","html_url":"https://github.com/cha87de/ddns","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cha87de%2Fddns","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cha87de%2Fddns/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cha87de%2Fddns/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cha87de%2Fddns/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cha87de","download_url":"https://codeload.github.com/cha87de/ddns/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cha87de%2Fddns/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259093710,"owners_count":22804225,"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":[],"created_at":"2024-11-28T06:09:09.485Z","updated_at":"2026-05-09T06:36:48.601Z","avatar_url":"https://github.com/cha87de.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ddns\nDynamic DNS Service (PHP + Bind)\n\n## Usage\n\n```\ndocker build -t ddns .\ndocker run --rm -ti \\\n    -p 8080:80 \\\n    -p 553:53 -p 553:53/udp \\\n    -e DDNS_DOMAIN=\"testdomain.local\" \\\n    -e DDNS_IPv4=\"192.168.2.11\" \\\n    -v $(pwd)/example-data:/opt/data/ \\\n    --name ddns \\\n    ddns\n```\n\nWhere DDNS_DOMAIN is the domain name for the DNS server and DDNS_IPv4 is the IP\naddress for this DNS server. Next, define the dynamic subomains. Update the\n`domains.json` file accordingly, e.g. token1 for home.testdomain.local and\ntoken2 for office.testdomain.local:\n\n```\n[{\n    \"home\": \"token1\",\n    \"office\": \"token2\"\n}]\n```\n\nUse the official image on Docker hub, e.g. via docker-compose:\n\n```\nversion: '2'\nservices:\n  ddns:\n    image: cha87de/ddns:latest\n    environment:\n    - DDNS_DOMAIN=testdomain.local\n    - DDNS_IPv4=\"192.168.2.2\"\n    volumes:\n    - /opt/storage/ddns/:/opt/data/\n    restart: always\n    ports:\n      - 8080:80\n      - 53:53/tcp\n      - 53:53/udp\n```\n\nTo update the DNS entries, use e.g. curl via `curl \"https://wherever-it-runs:8080/dnsupdate.php?AUTH_TOKEN=token1\u0026DOMAIN=home[\u0026FORCEIP=192.168.2.101]\"`","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcha87de%2Fddns","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcha87de%2Fddns","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcha87de%2Fddns/lists"}