{"id":16129456,"url":"https://github.com/klutchell/dnscrypt-proxy-docker","last_synced_at":"2025-04-06T13:42:02.767Z","repository":{"id":38358293,"uuid":"172511897","full_name":"klutchell/dnscrypt-proxy-docker","owner":"klutchell","description":"dnscrypt-proxy multiarch docker image","archived":false,"fork":false,"pushed_at":"2025-03-31T04:43:25.000Z","size":708,"stargazers_count":102,"open_issues_count":4,"forks_count":20,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-03-31T05:23:14.221Z","etag":null,"topics":["dnscrypt-proxy"],"latest_commit_sha":null,"homepage":"https://dnscrypt.info","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/klutchell.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":"2019-02-25T13:33:17.000Z","updated_at":"2025-03-31T04:43:28.000Z","dependencies_parsed_at":"2024-04-16T14:43:26.115Z","dependency_job_id":"63e0edd1-d7c2-4cff-a815-ad451bf185b0","html_url":"https://github.com/klutchell/dnscrypt-proxy-docker","commit_stats":{"total_commits":608,"total_committers":10,"mean_commits":60.8,"dds":"0.39309210526315785","last_synced_commit":"d8b9627e86d7ce85a488c4d26b3fd61114d1ff96"},"previous_names":[],"tags_count":18,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/klutchell%2Fdnscrypt-proxy-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/klutchell%2Fdnscrypt-proxy-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/klutchell%2Fdnscrypt-proxy-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/klutchell%2Fdnscrypt-proxy-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/klutchell","download_url":"https://codeload.github.com/klutchell/dnscrypt-proxy-docker/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247492460,"owners_count":20947541,"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":["dnscrypt-proxy"],"created_at":"2024-10-09T22:10:50.918Z","updated_at":"2025-04-06T13:42:02.747Z","avatar_url":"https://github.com/klutchell.png","language":"Dockerfile","readme":"# dnscrypt-proxy multiarch docker image\n\n[![Docker Pulls](https://img.shields.io/docker/pulls/klutchell/dnscrypt-proxy.svg?style=flat-square)](https://hub.docker.com/r/klutchell/dnscrypt-proxy/)\n[![Docker Stars](https://img.shields.io/docker/stars/klutchell/dnscrypt-proxy.svg?style=flat-square)](https://hub.docker.com/r/klutchell/dnscrypt-proxy/)\n\n[dnscrypt-proxy](https://github.com/DNSCrypt/dnscrypt-proxy) is a flexible DNS proxy, with support for encrypted DNS protocols.\n\n## Architectures\n\nThe architectures supported by this image are:\n\n- `linux/amd64`\n- `linux/arm64`\n- `linux/arm/v7`\n- `linux/arm/v6`\n\nSimply pulling `klutchell/dnscrypt-proxy` should retrieve the correct image for your arch.\n\n## Build\n\n```bash\n# enable docker buildkit and experimental mode\nexport DOCKER_BUILDKIT=1\nexport DOCKER_CLI_EXPERIMENTAL=enabled\n\n# build local image for native platform\ndocker build . --tag klutchell/dnscrypt-proxy\n\n# cross-build for another platform\ndocker build . --tag klutchell/dnscrypt-proxy --platform linux/arm/v7\n```\n\n## Test\n\n```bash\n# run DNS lookup on local image\ndocker run --rm -d --name dnscrypt klutchell/dnscrypt-proxy\ndocker run --rm -it --link dnscrypt uzyexe/drill -p 5053 dnscrypt.info @dnscrypt\ndocker stop dnscrypt\n```\n\n## Usage\n\nOfficial project wiki: \u003chttps://github.com/DNSCrypt/dnscrypt-proxy/wiki\u003e\n\n```bash\n# print version info\ndocker run --rm klutchell/dnscrypt-proxy --version\n\n# print general usage\ndocker run --rm klutchell/dnscrypt-proxy --help\n\n# run dnscrypt proxy server on host port 53\ndocker run -p 53:5053/tcp -p 53:5053/udp klutchell/dnscrypt-proxy\n\n# run dnscrypt proxy server with configuration mounted from a host directory\n# note that the files in the configuration directory '/path/to/config' must be\n# readable by world, or owned by nobody:nogroup, and the directory itself must be\n# writeable by world, or owned by nobody:nogroup\ndocker run -p 53:5053/udp -v /path/to/config:/config klutchell/dnscrypt-proxy\n```\n\n### Probes\n\nThis image includes a small DNS client called `dnsprobe` that can be used to set up health probes. `dnsprobe` is located in `/usr/local/bin/dnsprobe`.\n\nThis binary can be used as a probe to tell orchestration systems whether dnscrypt-proxy is ready to serve queries, or otherwise healthy. For example, in Kubernetes environments, liveness and readiness probes could be defined as follows:\n\n```yaml\nreadinessProbe:\n  timeoutSeconds: 1\n  failureThreshold: 1\n  periodSeconds: 5\n  exec:\n    command:\n      - /usr/local/bin/dnsprobe\n      - google.com\n      - 127.0.0.1:5053\nlivenessProbe:\n  timeoutSeconds: 3\n  failureThreshold: 3\n  periodSeconds: 5\n  initialDelaySeconds: 30\n  exec:\n    command:\n      - /usr/local/bin/dnsprobe\n      - google.com\n      - 127.0.0.1:5053\n```\n\n`dnsprobe` asks the nameserver supplied in the second argument to resolve the name supplied as the first argument. It will exit with non-zero code if:\n\n- Any network error occurs, or the response times out after 5 seconds\n- The DNS server returns an error (e.g. `NXDOMAIN`)\n- The DNS server returns an empty list of records\n\n## Author\n\nKyle Harding \u003chttps://klutchell.dev\u003e\n\n[Buy me a beer](https://buymeacoffee.com/klutchell)\n\n## Contributing\n\nPlease open an issue or submit a pull request with any features, fixes, or changes.\n\n## Acknowledgments\n\nOriginal software is by the DNSCrypt project: \u003chttps://dnscrypt.info/\u003e\n","funding_links":["https://buymeacoffee.com/klutchell"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fklutchell%2Fdnscrypt-proxy-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fklutchell%2Fdnscrypt-proxy-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fklutchell%2Fdnscrypt-proxy-docker/lists"}