{"id":13620666,"url":"https://github.com/jeremyrea/unbound-docker","last_synced_at":"2025-04-14T22:32:09.131Z","repository":{"id":150870612,"uuid":"556108271","full_name":"jeremyrea/unbound-docker","owner":"jeremyrea","description":"Unbound Docker Image","archived":false,"fork":false,"pushed_at":"2023-01-12T07:00:33.000Z","size":23,"stargazers_count":2,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-11-08T07:38:16.002Z","etag":null,"topics":["cachedb","dns","docker","redis","unbound"],"latest_commit_sha":null,"homepage":"","language":"Dockerfile","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/jeremyrea.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":"2022-10-23T04:17:41.000Z","updated_at":"2023-05-09T08:05:11.000Z","dependencies_parsed_at":null,"dependency_job_id":"6c67bc33-3597-4721-8eb9-1083cdfeeb9f","html_url":"https://github.com/jeremyrea/unbound-docker","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/jeremyrea%2Funbound-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeremyrea%2Funbound-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeremyrea%2Funbound-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeremyrea%2Funbound-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jeremyrea","download_url":"https://codeload.github.com/jeremyrea/unbound-docker/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248971978,"owners_count":21191700,"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":["cachedb","dns","docker","redis","unbound"],"created_at":"2024-08-01T21:00:58.250Z","updated_at":"2025-04-14T22:32:08.019Z","avatar_url":"https://github.com/jeremyrea.png","language":"Dockerfile","funding_links":[],"categories":["Dockerfile"],"sub_categories":[],"readme":"# unbound-docker\n\n[Unbound](https://nlnetlabs.nl/projects/unbound/about/) is a validating, recursive, caching DNS resolver.\n\n## What's different with this docker image of Unbound?\nUnbound is compiled with the `--enable-cachedb` and `--with-libhiredis` flags, allowing it to use Redis as a second level cache and persist resolved DNS queries across container restarts. More details about this module can be found [here](https://unbound.docs.nlnetlabs.nl/en/latest/manpages/unbound.conf.html?highlight=cachedb#cache-db-module-options).\n\n## Usage\n\n### Basic command\n``` shell\ndocker run \\\n  --name unbound \\\n  -p 53:53/tcp \\\n  -p 53:53/udp \\\n  ghcr.io/jeremyrea/unbound-docker:latest\n```\n\n### With cachedb module enabled\n\nAdd the following configuration file to connect to your Redis instance:\n\n#### **`cachedb.conf`**\n``` conf\nserver:\n  module-config: \"validator cachedb iterator\"\n  \ncachedb:\n  backend: \"redis\"\n  # secret seed string to calculate hashed keys\n  secret-seed: \"my-secret\"\n\n  # redis server's IP address or host name\n  redis-server-host: 127.0.0.1\n  # redis server's TCP port\n  redis-server-port: 6379\n  # timeout (in ms) for communication with the redis server\n  redis-timeout: 100\n  # set timeout on redis records based on DNS response TTL\n  redis-expire-records: yes\n```\n\n``` shell\ndocker run \\\n  --name unbound \\\n  -p 53:53/tcp \\\n  -p 53:53/udp \\\n  -v /path/to/config:/opt/unbound/etc/unbound/unbound.conf.d \\\n  ghcr.io/jeremyrea/unbound-docker:latest\n```\n\nAny other configs you wish to add or modify from the image defaults can be done by adding more .conf files inside the unbound.conf.d directory. A full list of available settings is available on [Unbound's documentation](https://unbound.docs.nlnetlabs.nl/en/latest/manpages/unbound.conf.html).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjeremyrea%2Funbound-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjeremyrea%2Funbound-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjeremyrea%2Funbound-docker/lists"}