{"id":21841063,"url":"https://github.com/redsolver/multi-doh-server","last_synced_at":"2025-04-14T10:52:14.432Z","repository":{"id":111393234,"uuid":"286964089","full_name":"redsolver/multi-doh-server","owner":"redsolver","description":null,"archived":false,"fork":false,"pushed_at":"2020-08-12T08:59:26.000Z","size":4,"stargazers_count":13,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-28T00:05:51.068Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Dart","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/redsolver.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-08-12T08:49:43.000Z","updated_at":"2024-09-01T19:45:10.000Z","dependencies_parsed_at":null,"dependency_job_id":"c18626fc-7d95-499c-8b55-61909adc77fc","html_url":"https://github.com/redsolver/multi-doh-server","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redsolver%2Fmulti-doh-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redsolver%2Fmulti-doh-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redsolver%2Fmulti-doh-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redsolver%2Fmulti-doh-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/redsolver","download_url":"https://codeload.github.com/redsolver/multi-doh-server/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248868838,"owners_count":21174754,"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":"2024-11-27T21:28:58.581Z","updated_at":"2025-04-14T10:52:14.426Z","avatar_url":"https://github.com/redsolver.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Multi-DoH Server\n\nWarning: This code is highly experimental and I don't recommend running it in production.\n\nThe [SkyDroid App](https://github.com/redsolver/skydroid) uses this server to efficiently query a lot of domain names at once in a single request.\n\nIt is part of my submission to the [‘Own The Internet’ Hackathon](https://gitcoin.co/hackathon/own-the-internet)\n\nThis server requires a [HSD Node](https://github.com/handshake-org/hsd) running locally with `./bin/hsd --rs-port 53`\n\nEnabling Unbound support is recommended.\n\nThis server listens on port 8053 and accepts HTTP connections. HTTPS can be enabled using a reverse proxy like Nginx.\n\n## Limitations\n\n- Only TXT Records are supported\n- The server currently uses the `dig` command-line tool to run queries against the local resolver and parses the `stdout`. :D\n\n## Example\n\n`POST` to `/multi-dns-query`\n```json\n{\n    \"type\": 16,\n    \"names\": [\n        \"example.com\",\n        \"redsolver\",\n        \"papagei\"\n    ]\n}\n```\n\nResponse\n```json\n{\n    \"type\": 16,\n    \"names\": {\n        \"example.com\": [],\n        \"redsolver\": [\n            \"TXT Record 1\",\n            \"TXT Record 2\"\n        ],\n        \"papagei\": [\n            \"something something\"\n        ]\n    }\n}\n```\n\n## How to deploy (if you really want to)\n\n1. Get the [Dart SDK](https://dart.dev/get-dart)\n2. `dart2native bin/multi_doh_server.dart` to produce a binary\n3. Something like `scp bin/multi_doh_server.exe root@YOUR_SERVER_IP:/root/multi_doh_server/multi_doh_server.exe` to copy the binary to your server\n4. Run the binary","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fredsolver%2Fmulti-doh-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fredsolver%2Fmulti-doh-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fredsolver%2Fmulti-doh-server/lists"}