{"id":38031139,"url":"https://github.com/tun2proxy/dns2socks","last_synced_at":"2026-01-16T19:41:11.977Z","repository":{"id":227386013,"uuid":"771063522","full_name":"tun2proxy/dns2socks","owner":"tun2proxy","description":"A DNS server that forwards DNS requests to a SOCKS5 server.","archived":false,"fork":false,"pushed_at":"2025-12-31T13:45:52.000Z","size":52,"stargazers_count":46,"open_issues_count":0,"forks_count":12,"subscribers_count":3,"default_branch":"master","last_synced_at":"2026-01-14T11:41:07.728Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Rust","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/tun2proxy.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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-03-12T16:14:05.000Z","updated_at":"2026-01-10T16:12:30.000Z","dependencies_parsed_at":"2024-03-24T10:21:43.214Z","dependency_job_id":"cf67e7d0-8824-4f12-aad1-35754a32d1e6","html_url":"https://github.com/tun2proxy/dns2socks","commit_stats":null,"previous_names":["ssrlive/dns2proxy","ssrlive/dns2socks","tun2proxy/dns2socks"],"tags_count":12,"template":false,"template_full_name":null,"purl":"pkg:github/tun2proxy/dns2socks","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tun2proxy%2Fdns2socks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tun2proxy%2Fdns2socks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tun2proxy%2Fdns2socks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tun2proxy%2Fdns2socks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tun2proxy","download_url":"https://codeload.github.com/tun2proxy/dns2socks/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tun2proxy%2Fdns2socks/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28481929,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-16T11:59:17.896Z","status":"ssl_error","status_checked_at":"2026-01-16T11:55:55.838Z","response_time":107,"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":[],"created_at":"2026-01-16T19:41:09.500Z","updated_at":"2026-01-16T19:41:11.963Z","avatar_url":"https://github.com/tun2proxy.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# dns2socks\n\n[![Crates.io](https://img.shields.io/crates/v/dns2socks.svg)](https://crates.io/crates/dns2socks)\n![dns2socks](https://docs.rs/dns2socks/badge.svg)\n[![Documentation](https://img.shields.io/badge/docs-release-brightgreen.svg?style=flat)](https://docs.rs/dns2socks)\n[![Download](https://img.shields.io/crates/d/dns2socks.svg)](https://crates.io/crates/dns2socks)\n[![License](https://img.shields.io/crates/l/dns2socks.svg?style=flat)](https://github.com/ssrlive/dns2socks/blob/master/LICENSE)\n\nA DNS server that forwards DNS requests to a SOCKS5 server.\n\n## Installation\n\n### Precompiled Binaries\n\nDownload binary from [releases](https://github.com/ssrlive/dns2socks/releases) and put it in your `$PATH`.\n\n### Install from Crates.io\n\nIf you have [Rust](https://rustup.rs/) toolchain installed, you can install `dns2socks` with the following command:\n```sh\ncargo install dns2socks\n```\n\n## Usage\n\n```plaintext\ndns2socks -h\n\nProxy server to routing DNS query to SOCKS5 server\n\nUsage: dns2socks [OPTIONS]\n\nOptions:\n  -l, --listen-addr \u003cIP:port\u003e        Listen address [default: 0.0.0.0:53]\n  -d, --dns-remote-server \u003cIP:port\u003e  Remote DNS server address [default: 8.8.8.8:53]\n  -s, --socks5-settings \u003cURL\u003e        SOCKS5 URL in the form socks5://[username[:password]@]host:port, Username and password are encoded in percent\n                                     encoding. For example: socks5://myname:pass%40word@127.0.0.1:1080 [default: socks5://127.0.0.1:1080]\n  -f, --force-tcp                    Force to use TCP to proxy DNS query\n  -c, --cache-records                Cache DNS query records\n  -v, --verbosity \u003clevel\u003e            Verbosity level [default: info] [possible values: off, error, warn, info, debug, trace]\n  -t, --timeout \u003cseconds\u003e            Timeout for DNS query [default: 5]\n  -h, --help                         Print help\n  -V, --version                      Print version\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftun2proxy%2Fdns2socks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftun2proxy%2Fdns2socks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftun2proxy%2Fdns2socks/lists"}