{"id":28242014,"url":"https://github.com/planetable/dweb-dns","last_synced_at":"2025-06-10T16:31:43.747Z","repository":{"id":114022122,"uuid":"597349454","full_name":"Planetable/dweb-dns","owner":"Planetable","description":"Simple DoH Server for Blockchain Name Systems","archived":false,"fork":false,"pushed_at":"2025-05-04T12:44:45.000Z","size":71,"stargazers_count":9,"open_issues_count":2,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-05-31T19:55:56.982Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/Planetable.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,"zenodo":null}},"created_at":"2023-02-04T09:11:52.000Z","updated_at":"2025-05-04T12:44:48.000Z","dependencies_parsed_at":"2024-10-25T09:32:43.446Z","dependency_job_id":"5e275126-061f-4971-a844-b8e2640e6edc","html_url":"https://github.com/Planetable/dweb-dns","commit_stats":null,"previous_names":["planetable/dweb-dns"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Planetable%2Fdweb-dns","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Planetable%2Fdweb-dns/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Planetable%2Fdweb-dns/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Planetable%2Fdweb-dns/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Planetable","download_url":"https://codeload.github.com/Planetable/dweb-dns/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Planetable%2Fdweb-dns/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":258541872,"owners_count":22717670,"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-05-19T05:09:20.987Z","updated_at":"2025-06-10T16:31:43.738Z","avatar_url":"https://github.com/Planetable.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Simple DoH Server for Blockchain Domains\n\nThis is a simple DoH server for blockchain domains. Currently, it can support the following blockchain domains:\n\n- [.sol](https://sns.id/) - Solana Name Service\n- [.fc](https://warpcast.com/) - Farcaster username's URL field\n- [.bit](https://did.id/)\n\n## Usage\n\nStart a local instance:\n\n```\nFLASK_DEBUG=true flask run --host=0.0.0.0\n```\n\nLook up a [.sol](https://sns.id/) domain:\n\n```bash\ncurl -H \"accept: application/dns-json\" -X GET \"http://127.0.0.1:5000/dns-query?name=ohlife.sol\"\n```\n\nLook up a [.bit](https://did.id/bit/) domain:\n\n```bash\ncurl -H \"accept: application/dns-json\" -X GET \"https://dweb-dns.v2ex.pro/dns-query?name=v2ex.bit\"\n```\n\n```json\n{\n  \"Status\": 0,\n  \"TC\": false,\n  \"RD\": true,\n  \"RA\": false,\n  \"AD\": false,\n  \"CD\": false,\n  \"Question\": [\n    {\n      \"name\": \"v2ex.bit.\",\n      \"type\": 16\n    }\n  ],\n  \"Answer\": [\n    {\n      \"name\": \"v2ex.bit\",\n      \"type\": 16,\n      \"TTL\": 600,\n      \"data\": \"dnslink=/ipns/k51qzi5uqu5dkczezx3wje1dizdk7rta8uc50a5o9ix4wmzqniacrdbfapt8cf\"\n    }\n  ],\n  \"Authority\": [],\n  \"Additional\": []\n}\n```\n\n## Usage with Kubo (go-ipfs)\n\nYou can use this server with [Kubo](https://github.com/ipfs/kubo) by adding the following to your config:\n\n```json\n\"DNS\": {\n  \"Resolvers\": {\n    \"bit.\": \"https://dweb-dns.v2ex.pro/dns-query\",\n    \"sol.\": \"https://dweb-dns.v2ex.pro/dns-query\"\n  }\n}\n```\n\nAfter that, your Kubo gateway will be able to resolve and access blockchain domains like this:\n\n- https://ipfs.v2ex.pro/ipns/planetable.sol/\n- https://ipfs.v2ex.pro/ipns/v2ex.bit/\n- https://ipfs.v2ex.pro/ipns/planetable.bit/\n\nWith the IPFS support in Brave, you can access blockchain domains like this:\n\n\u003cimg src=\"https://i.v2ex.co/kn0qc018.png\" width=\"762\" alt=\"ipns://v2ex.bit in Brave\" /\u003e","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fplanetable%2Fdweb-dns","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fplanetable%2Fdweb-dns","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fplanetable%2Fdweb-dns/lists"}