{"id":18319633,"url":"https://github.com/mycloudlab/infra-dynamic-dns","last_synced_at":"2025-04-09T14:21:38.744Z","repository":{"id":95758018,"uuid":"128784954","full_name":"mycloudlab/infra-dynamic-dns","owner":"mycloudlab","description":"Docker scripts for create dynamic dns","archived":false,"fork":false,"pushed_at":"2018-04-10T17:43:46.000Z","size":24,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-15T08:19:12.698Z","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":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mycloudlab.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}},"created_at":"2018-04-09T14:29:36.000Z","updated_at":"2018-04-10T17:43:46.000Z","dependencies_parsed_at":"2023-05-21T22:45:26.721Z","dependency_job_id":null,"html_url":"https://github.com/mycloudlab/infra-dynamic-dns","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/mycloudlab%2Finfra-dynamic-dns","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mycloudlab%2Finfra-dynamic-dns/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mycloudlab%2Finfra-dynamic-dns/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mycloudlab%2Finfra-dynamic-dns/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mycloudlab","download_url":"https://codeload.github.com/mycloudlab/infra-dynamic-dns/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248054195,"owners_count":21039952,"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-05T18:13:48.991Z","updated_at":"2025-04-09T14:21:38.699Z","avatar_url":"https://github.com/mycloudlab.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# infra-dynamic-dns\n\nThis docker image provides a [bind service](https://www.isc.org/downloads/bind/) based on [Alpine Linux](https://hub.docker.com/_/alpine/) with dns updates via nsupdate.\n\n\nNOTE: this image has the purpose of assisting the configuration of dns in testlabs, do not use in production.\n\n## usage\n\n```bash\ndocker run \\\n    -e ZONES=\"example.com\" \\\n    -e REVERSE_ZONES=\"0.168.192\" \\\n    -e FORWARDERS=\"8.8.8.8; 8.8.4.4;\" \\\n    --publish 53:53/tcp --publish 53:53/udp \\\n    -d -t mycloudlab/infra-dynamic-dns \n```\n\nEnvironment variables:\n\n- **ZONES**: especify zones to be created, multiple zones is allowed. ex: ZONES=\"example.com; example2.com;\"\n\n- **REVERSE_ZONES**: especify reversed zones to be created, multiple zones is allowed. ex: REVERSE_ZONES=\"0.168.192; 99.168.192;\"\n\n- **FORWARDERS**: especify dns forwarder to be dispach queries, multiple forwarders is allowed. ex: FORWARDERS=\"8.8.8.8; 8.8.4.4;\"\n\n**Update dns records**\n\nnsupdate should be used to update dns records. \n\nExample:\n\n```bash\necho \"\nserver localhost\n\n; update zone with example.com\nzone example.com\nupdate del test.example.com. A\nupdate add test.example.com 1440 A 192.168.0.1\n\n; update reverse zone\nzone 0.168.192.in-addr.arpa\nupdate del 1.0.168.192.in-addr.arpa. PTR\nupdate add 1.0.168.192.in-addr.arpa. 300 PTR test.example.com\n\nshow\nsend\n\" | nsupdate \n```\n\nTest updates:\n\n```bash\ndig @localhost test.example.com +short\ndig @localhost  -x 192.168.0.1 +short\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmycloudlab%2Finfra-dynamic-dns","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmycloudlab%2Finfra-dynamic-dns","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmycloudlab%2Finfra-dynamic-dns/lists"}