{"id":16858240,"url":"https://github.com/rn/linuxkit-dnscrypt","last_synced_at":"2025-09-23T06:41:18.270Z","repository":{"id":144226256,"uuid":"131515436","full_name":"rn/linuxkit-dnscrypt","owner":"rn","description":"A LinuxKit based dnscrypt-proxy for a Raspberry Pi 3b","archived":false,"fork":false,"pushed_at":"2020-02-22T19:56:51.000Z","size":18,"stargazers_count":6,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-18T12:16:21.076Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Makefile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rn.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":"2018-04-29T17:35:19.000Z","updated_at":"2020-06-22T18:20:35.000Z","dependencies_parsed_at":null,"dependency_job_id":"f1fe00e0-f6ed-4307-8458-826e0a22bc7b","html_url":"https://github.com/rn/linuxkit-dnscrypt","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rn/linuxkit-dnscrypt","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rn%2Flinuxkit-dnscrypt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rn%2Flinuxkit-dnscrypt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rn%2Flinuxkit-dnscrypt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rn%2Flinuxkit-dnscrypt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rn","download_url":"https://codeload.github.com/rn/linuxkit-dnscrypt/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rn%2Flinuxkit-dnscrypt/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":276531300,"owners_count":25658697,"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","status":"online","status_checked_at":"2025-09-23T02:00:09.130Z","response_time":73,"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":"2024-10-13T14:12:08.313Z","updated_at":"2025-09-23T06:41:18.227Z","avatar_url":"https://github.com/rn.png","language":"Makefile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# dnscrypt-proxy\n\nThis directory contains a minimal LinuxKit image to build a\n[`dnscrypt-proxy`](https://github.com/jedisct1/dnscrypt-proxy) based\nDNS proxy. It does three things:\n\n- Use DNS over HTTP (or DNSSEC) for DNS queries, preventing, for\n  example, your ISP to rewrite/log/block certain DNS queries.\n- Use non-logging upstream DNS servers\n- Block DNS queries for known trackers and other nasty sites\n\nIt works both on x86_64 and arm64, in particular a RPi3.\n\n\n## Building\n\nJust type:\n```sh\nmake\n```\n\nThis:\n- build a local LinuxKit package called `dnscrypt/dnscrypt-proxy:dev`\n  - Compiles dnscrypt-proxy\n  - Creates the latest balcklist of domains to block\n  - build a minimal LinuxKit package\n- Build a LinuxKit image\n\nOn a x86_64 machine you will end up with a `kernel+initrd` and on a\narm64 machine you'll end up with a tarball with contents you can copy\nover to a FAT32 partition on a RPi3 SD card. See the RPi3\ndocumentation in the LinuxKit repo.\n\n\n## Testing\n\nThe simplest way to test the image is with `hyperkit` and Docker for\nMac (at least that's how I test it):\n\n- Build the LinuxKit image on your Mac (`make`)\n- Run it `linuxkit run dnscrypt-proxy`\n  - this will boot a VM and its network connection will be on the same\n    network as the Docker for Mac VM.\n- Run a alpine container: `docker run --rm -it alpine`, then\n  - Install bind-tools: `apk add --no-cache bind-tools`\n  - Get the IP address of the `dnscrypt-proxy` VM, say `192.168.65.9`\n  - Perform DNS queries: `dig @192.168.65.9 www.google.com`\n  - In the `dnscrypt-proxy` VM, check out the logs under:\n    - `/var/log/dnscrypt-proxy.err.log`\n    - `/var/log/dnscrypt/*.log`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frn%2Flinuxkit-dnscrypt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frn%2Flinuxkit-dnscrypt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frn%2Flinuxkit-dnscrypt/lists"}