{"id":20196022,"url":"https://github.com/thehxdev/dohc","last_synced_at":"2026-05-13T03:07:43.419Z","repository":{"id":250305356,"uuid":"834081084","full_name":"thehxdev/dohc","owner":"thehxdev","description":"Check wich DoH servers are working on your network","archived":false,"fork":false,"pushed_at":"2024-08-24T22:36:59.000Z","size":36,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-13T19:38:11.602Z","etag":null,"topics":["anti-censorship","doh","golang"],"latest_commit_sha":null,"homepage":"","language":"Python","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/thehxdev.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":"2024-07-26T11:27:40.000Z","updated_at":"2025-01-08T09:35:11.000Z","dependencies_parsed_at":"2024-07-30T12:47:24.718Z","dependency_job_id":"fff235bc-6c0d-4500-9dc3-d8573ac36f15","html_url":"https://github.com/thehxdev/dohc","commit_stats":null,"previous_names":["thehxdev/dohc"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thehxdev%2Fdohc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thehxdev%2Fdohc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thehxdev%2Fdohc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thehxdev%2Fdohc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thehxdev","download_url":"https://codeload.github.com/thehxdev/dohc/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241629770,"owners_count":19993710,"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":["anti-censorship","doh","golang"],"created_at":"2024-11-14T04:21:19.285Z","updated_at":"2025-12-01T14:08:27.112Z","avatar_url":"https://github.com/thehxdev.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# dohc\ndohc is a DoH server scanner. With this tool you can check wich DoH servers are working on your network.\n\n\n## Build\n\n### Linux / macOS\n```bash\nCGO_ENABLED=0 go build -ldflags='-s -buildid=' .\n```\n\n### Windows\n```powershell\n$env:CGO_ENABLED=0\ngo build -ldflags='-s -buildid=' .\n```\n\n### Makefile\n```bash\nmake\n```\n\n### Cross-Platform build\n```bash\nmake cross-plat\n```\n\n\n## Usage\nTo print a help message:\n```bash\n./dohc -help\n```\n\nTo start testing:\n```bash\n./dohc -f doh_servers.txt\n```\n\n\n## Source of DoH servers data\n\n### Scraping cURL DoH wiki\nYou can use [scrape_doh_providers.py](misc/scrape_doh_providers.py) python3 script to scrape [cURL DoH wiki](https://github.com/curl/curl/wiki/DNS-over-HTTPS)\nto make a list of DoH resolvers. This method is recommended and most up-to-date.\n```bash\npython3 ./misc/scrape_doh_providers.py '\"{}\".format(o[\"url\"])' \u003e ./doh_servers.txt\n```\nI took the python script from [HERE](https://gist.github.com/kimbo/dd65d539970e3a28a10628f15398247b).\n\n\n### Using resolvers data\n\u003e [!NOTE]\n\u003e This method also uses cURL DoH wiki but it may be outdated or old.\n\nI took DoH resolvers data ([This file](misc/doh_resolvers_data_20240119.json)) from [encrypted-dns-resolvers](https://github.com/cslev/encrypted_dns_resolvers) repository.\nThen I extracted URIs with [converter.sh](misc/converter.sh) shell script. The final file (`doh_servers.txt`) is a list of DoH resolvers each on a seperate line.\n```bash\n./misc/converter.sh ./misc/doh_resolvers_data_20240119.json ./doh_servers.txt\n```\n\n\n## Contribution\nIf you can improve the source code or make this software better, feel free to send a PR :)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthehxdev%2Fdohc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthehxdev%2Fdohc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthehxdev%2Fdohc/lists"}