{"id":25649784,"url":"https://github.com/openchami/dnsmasq-dhcpd","last_synced_at":"2026-06-10T20:31:43.776Z","repository":{"id":222318616,"uuid":"756907502","full_name":"OpenCHAMI/dnsmasq-dhcpd","owner":"OpenCHAMI","description":null,"archived":false,"fork":false,"pushed_at":"2024-10-09T23:06:33.000Z","size":88,"stargazers_count":0,"open_issues_count":1,"forks_count":1,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-02-23T14:37:08.501Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/OpenCHAMI.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":"2024-02-13T14:43:03.000Z","updated_at":"2024-10-09T23:05:38.000Z","dependencies_parsed_at":"2024-04-15T18:27:07.021Z","dependency_job_id":"b9efa848-deed-405f-9839-b6bba788ed56","html_url":"https://github.com/OpenCHAMI/dnsmasq-dhcpd","commit_stats":null,"previous_names":["openchami/dnsmasq-dhcpd"],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/OpenCHAMI/dnsmasq-dhcpd","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenCHAMI%2Fdnsmasq-dhcpd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenCHAMI%2Fdnsmasq-dhcpd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenCHAMI%2Fdnsmasq-dhcpd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenCHAMI%2Fdnsmasq-dhcpd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/OpenCHAMI","download_url":"https://codeload.github.com/OpenCHAMI/dnsmasq-dhcpd/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenCHAMI%2Fdnsmasq-dhcpd/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34170162,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-10T02:00:07.152Z","response_time":89,"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":[],"created_at":"2025-02-23T14:33:51.832Z","updated_at":"2026-06-10T20:31:43.759Z","avatar_url":"https://github.com/OpenCHAMI.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Dynamic dnsmasq container\n\nThis container expects all configuration files to be mounted in via docker volumes.\n\nSee the [example directory](/examples/docker-compose/) for a recommended configuration file structure.\n\n## Dynamic hosts\n\ndnsmasq doesn't have a native facility to automatically update the configuration on changes.  It requires a SIGHUP.  However, it does have a facility that allows it to dynamically add hosts through the `--dhcp-hostsdir` option.  The behavior may not be precisely what you expect.  Here is the \n\n\u003e --dhcp-hostsdir=\u003cpath\u003e\n    This is equivalent to --dhcp-hostsfile, except for the following. The path MUST be a directory, and not an individual file. Changed or new files within the directory are read automatically, without the need to send SIGHUP. If a file is deleted or changed after it has been read by dnsmasq, then the host record it contained will remain until dnsmasq receives a SIGHUP, or is restarted; ie host records are only added dynamically. The order in which the files in a directory are read is not defined.\n\n## Manually reloading the container configuration\n\nDocker supports sending signals to the main process in a container.  From the [docker documentation](https://docs.docker.com/reference/cli/docker/container/kill/#send-a-custom-signal--to-a-container), there are several ways to send a SIGHUP to dnsmasq.\n\n```bash\n# The following commands are all equivalent\ndocker kill --signal=SIGHUP dnsmasq\ndocker kill --signal=HUP dnsmasq\ndocker kill --signal=1 dnsmasq\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenchami%2Fdnsmasq-dhcpd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopenchami%2Fdnsmasq-dhcpd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenchami%2Fdnsmasq-dhcpd/lists"}