{"id":24449145,"url":"https://github.com/codeniko/pihole-coredns-tls-docker","last_synced_at":"2025-07-18T20:36:59.479Z","repository":{"id":73812330,"uuid":"272268552","full_name":"codeniko/pihole-coredns-tls-docker","owner":"codeniko","description":"docker-compose and other config files to quickly set up pihole and coredns to use DNS over TLS","archived":false,"fork":false,"pushed_at":"2020-09-24T06:54:02.000Z","size":6,"stargazers_count":6,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-13T00:11:30.247Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","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/codeniko.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":"2020-06-14T19:21:36.000Z","updated_at":"2023-02-02T09:41:40.000Z","dependencies_parsed_at":null,"dependency_job_id":"ad4ed97c-fdbe-49ad-9089-a0930845b1aa","html_url":"https://github.com/codeniko/pihole-coredns-tls-docker","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/codeniko/pihole-coredns-tls-docker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeniko%2Fpihole-coredns-tls-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeniko%2Fpihole-coredns-tls-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeniko%2Fpihole-coredns-tls-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeniko%2Fpihole-coredns-tls-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codeniko","download_url":"https://codeload.github.com/codeniko/pihole-coredns-tls-docker/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeniko%2Fpihole-coredns-tls-docker/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265829207,"owners_count":23835090,"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":[],"created_at":"2025-01-21T00:37:20.496Z","updated_at":"2025-07-18T20:36:59.454Z","avatar_url":"https://github.com/codeniko.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pihole-coredns-tls-docker\nEasily set up pihole and coredns to use DNS over TLS with Docker. Currently used on and tested on a single Raspberry Pi 4 but I'm sure it will work on any unix based system.\n\n1) Install docker and docker-compose\n2) Clone this repo\n3) Change to `coredns` directory and run the `genCerts.sh` script.\n4) Go back to root directory and edit `docker-compose.yml` and set a web password. Also change the topmost DNS server for pihole to your gateway's IP. Mine happens to be `10.30.0.1`\n5) Run `docker-compose up -d`\n6) Go to IP of server to enter pihole dashboard, deselect prior DNS settings and set DNS custom1 to `172.10.10.100#53` for coredns\n\n### Verify outgoing DNS over TLS to Cloudflare\nUse any of the following:\n1) https://www.cloudflare.com/ssl/encrypted-sni/\n2) https://1.1.1.1/help\n\n### Verify incoming DNS over TLS requests on port 853\n`kdig @IP +tls example.com` where IP is ip address of device running the containers\n\n### Useful debugging commands\nOpen up shell on pihole container\n`docker exec -ti pihole bash`\n\nView all details about some container\n`docker inspect pihole`\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodeniko%2Fpihole-coredns-tls-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodeniko%2Fpihole-coredns-tls-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodeniko%2Fpihole-coredns-tls-docker/lists"}