{"id":23843877,"url":"https://github.com/oppodelldog/docker-dns","last_synced_at":"2025-09-07T19:32:18.165Z","repository":{"id":88393497,"uuid":"149800390","full_name":"Oppodelldog/docker-dns","owner":"Oppodelldog","description":"docker / docker-compose helper to easily define custom dns mappings","archived":false,"fork":false,"pushed_at":"2024-04-19T12:18:33.000Z","size":890,"stargazers_count":12,"open_issues_count":2,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-04-19T13:37:12.909Z","etag":null,"topics":["dns","docker","docker-compose"],"latest_commit_sha":null,"homepage":"","language":"Go","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/Oppodelldog.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}},"created_at":"2018-09-21T18:08:19.000Z","updated_at":"2022-08-07T19:16:56.000Z","dependencies_parsed_at":"2023-10-15T16:22:52.458Z","dependency_job_id":"6bfb5715-d042-46e1-aa65-123e0344f2f8","html_url":"https://github.com/Oppodelldog/docker-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/Oppodelldog%2Fdocker-dns","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Oppodelldog%2Fdocker-dns/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Oppodelldog%2Fdocker-dns/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Oppodelldog%2Fdocker-dns/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Oppodelldog","download_url":"https://codeload.github.com/Oppodelldog/docker-dns/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":232250733,"owners_count":18494772,"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":["dns","docker","docker-compose"],"created_at":"2025-01-02T19:51:28.492Z","updated_at":"2025-01-02T19:51:28.994Z","avatar_url":"https://github.com/Oppodelldog.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build Status](https://travis-ci.com/Oppodelldog/docker-dns.svg?branch=master)](https://travis-ci.com/Oppodelldog/docker-dns)\n# docker-dns\n\u003e dns container for custom aliases\n\n![DOCKER-DNS](docker-dns.png)\n\n**Problem**\n* You maintain a lot of domains, steadily growing.\n* Your docker-compose.yaml already has way too many aliases for your LB.\n* You want to update the dns list automatically without patching the compose file.\n\n**Solution**\n* Write a DNS Server that sits in your compose environment, and enables you to define mappings\nfrom ```domain alias``` to ```container name```.\n\nThis is what this experiment was about. And it worked.\n\n### Configuration\nSince it's an experiment there is not much config options.\n\u003eDefine the aliases in **dnsserver/data/alias**\n\nThe rest should be obvious from docker-compose.yaml or the go code.\n\n### Restrictions\n**Restrictions for the docker-compose setup:**\n* you need to attach your docker services via IP address to this DNS Service\n* so you need to define a docker network\n\n### Tests\nSince this project was a just a quick try, there are no unit tests yet.\nBut to hold the code stable there is at least a functional test.\n* [functional tests](test/README.md)\n\n### Go simply rocks\n**It was fun to implement using go and those nice libraries:**\n\nDNS: htts://github.com/miekg/dns\n\nDocker: https://github.com/docker/docker\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foppodelldog%2Fdocker-dns","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foppodelldog%2Fdocker-dns","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foppodelldog%2Fdocker-dns/lists"}