{"id":15097350,"url":"https://github.com/csharper63/pihole_dnscrypt_config","last_synced_at":"2026-02-11T06:02:52.738Z","repository":{"id":257367444,"uuid":"852925554","full_name":"CSharper63/pihole_dnscrypt_config","owner":"CSharper63","description":"This repository contains a working docker configuration for pihole and dnscrypt that support DoH.","archived":false,"fork":false,"pushed_at":"2025-02-23T11:52:45.000Z","size":25,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-13T23:51:27.926Z","etag":null,"topics":["dns-over-https","dnscrypt","pihole","pihole-dnscrypt","pihole-over-doh","pihole-over-https","privacy","security"],"latest_commit_sha":null,"homepage":"","language":null,"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/CSharper63.png","metadata":{"files":{"readme":"README.md","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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-09-05T17:05:16.000Z","updated_at":"2025-02-23T11:52:48.000Z","dependencies_parsed_at":null,"dependency_job_id":"a1def724-991b-4b95-95d3-3c7ef5fa3ccf","html_url":"https://github.com/CSharper63/pihole_dnscrypt_config","commit_stats":null,"previous_names":["csharper63/pihole_dnscrypt_config"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/CSharper63/pihole_dnscrypt_config","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CSharper63%2Fpihole_dnscrypt_config","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CSharper63%2Fpihole_dnscrypt_config/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CSharper63%2Fpihole_dnscrypt_config/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CSharper63%2Fpihole_dnscrypt_config/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CSharper63","download_url":"https://codeload.github.com/CSharper63/pihole_dnscrypt_config/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CSharper63%2Fpihole_dnscrypt_config/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29327857,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-11T03:52:29.695Z","status":"ssl_error","status_checked_at":"2026-02-11T03:52:23.094Z","response_time":97,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["dns-over-https","dnscrypt","pihole","pihole-dnscrypt","pihole-over-doh","pihole-over-https","privacy","security"],"created_at":"2024-09-25T16:20:53.956Z","updated_at":"2026-02-11T06:02:52.724Z","avatar_url":"https://github.com/CSharper63.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Docker PiHole + DNSCrypt\n\nThis repository contains a working docker configuration for pihole and dnscrypt that support DoH.\n\n## How to setup\n\nFirst of all, you need a raspberry pi. Set a static ip on it and connect it to your router.\n\n- Set in your router the raspberry ip address as DNS ip. \n- Install [docker](https://docs.docker.com/engine/install/raspberry-pi-os/).\n- Install portainer to get a cool UI of your dockers status (optional):\n    ```bash\n    sudo docker run -d -p 9000:9000 --name=portainer --restart=always -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data portainer/portainer-ce:latest\n    ```\n- Create a new directory ```config_pihole``` on your home folder (pi by default ```~```) and get in.\n- Pull this repo.\n- Change network details and pihole password in ```.env``` if needed.\n    \u003e The ```.env``` file contains the ip addresses of containers in docker. You should not modify it if not specially needed.\n- Run this:\n    ```bash\n    sudo docker compose up -d\n    ```\n- It should work :).\n\n## ```.env``` file explanation\n\nThese 4 fields should not be modified if you don't have specific configuration: \n- ```SUBNET```: arbitrary subnet for Pihole and DNSCrypt.\n- ```GATEWAY```: gateway of your ```SUBNET```.\n- ```DNSCRYPT_IP```: ip from ```SUBNET``` assigned to DNSCrypt docker.\n- ```PIHOLE_IP```: ip from ```SUBNET``` assigned to Pihole docker.\n\n- ```RASPBERRY_IP```: real ip of your raspberry in your physical network. This setting is used in docker config of your pihole to match UI portal ip with the physical raspberry ip to avoid 403 error. \n- ```PIHOLE_PASSWORD```: password of pihole portal.\n\n## Advanced settings\n\nYou can modify as your own the dnscrypt settings in ```dnscrypt/dnscrypt-proxy.toml```.\nBy default it use mullvad DoH as DNS provider and listen in docker with port 5053.\n\n## Pihole blocklists\n\nYou can check the ```blocklists.txt``` file that contains some cool blocklists from the web.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcsharper63%2Fpihole_dnscrypt_config","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcsharper63%2Fpihole_dnscrypt_config","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcsharper63%2Fpihole_dnscrypt_config/lists"}