{"id":22351017,"url":"https://github.com/johnae/dnsmasq","last_synced_at":"2025-03-26T11:45:21.209Z","repository":{"id":20816917,"uuid":"24102600","full_name":"johnae/dnsmasq","owner":"johnae","description":"Dnsmasq for use with docker containers (mostly built for CoreOS)","archived":false,"fork":false,"pushed_at":"2014-11-06T18:01:19.000Z","size":120,"stargazers_count":4,"open_issues_count":1,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-31T13:13:01.817Z","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/johnae.png","metadata":{"files":{"readme":"README.markdown","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}},"created_at":"2014-09-16T14:18:54.000Z","updated_at":"2017-03-29T01:22:21.000Z","dependencies_parsed_at":"2022-09-12T10:01:25.851Z","dependency_job_id":null,"html_url":"https://github.com/johnae/dnsmasq","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/johnae%2Fdnsmasq","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnae%2Fdnsmasq/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnae%2Fdnsmasq/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnae%2Fdnsmasq/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/johnae","download_url":"https://codeload.github.com/johnae/dnsmasq/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245650249,"owners_count":20650098,"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-12-04T12:12:16.446Z","updated_at":"2025-03-26T11:45:21.189Z","avatar_url":"https://github.com/johnae.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"### Dnsmasq for docker\n\nTo get going create a data volume for persistence and sharing like so:\n\n```docker run --name dnsmasq-data -v /etc/dnsmasq.d busybox```\n\nAdd a host like so:\n\n```docker run --volumes-from=dnsmasq-data johnae/dnsmasq set_host \u003chostname\u003e,\u003cip\u003e```\n\nUsually I add a domain like so:\n\n```set_host base.domain.com,1.2.3.4```\n\nThen I add each host under that domain like so:\n\n```set_host host-a.base.domain.com,1.3.2.5```\n\nFinally run (or restart) the dnsmasq container like so:\n\n```docker run -d -p 53:53/udp --name dnsmasq --volumes-from=dnsmasq-data johnae/dnsmasq```\n\n\ndocker run -d -p 172.17.42.1:533:53/udp --volumes-from=dnsmasq-data johnae/dnsmasq\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohnae%2Fdnsmasq","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjohnae%2Fdnsmasq","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohnae%2Fdnsmasq/lists"}