{"id":28725470,"url":"https://github.com/shengyanli1982/load-ants","last_synced_at":"2026-03-01T07:11:32.424Z","repository":{"id":292960538,"uuid":"982492421","full_name":"shengyanli1982/load-ants","owner":"shengyanli1982","description":"🐜🐜🐜 An lightweight DNS forwarder converting UDP/TCP queries to DoH and  DoH queries forwarding, written in Rust.","archived":false,"fork":false,"pushed_at":"2026-02-24T09:01:28.000Z","size":3327,"stargazers_count":22,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-02-24T13:53:32.844Z","etag":null,"topics":["cache","clash","dns","dns-forwarder","dns-over-https","dns-server","docker","doh","high-performance","optimization","proxy","proxy-server","rust","v2ray"],"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/shengyanli1982.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":"2025-05-13T01:12:39.000Z","updated_at":"2026-02-24T09:00:39.000Z","dependencies_parsed_at":"2025-05-13T02:32:52.833Z","dependency_job_id":"9bfdddaf-3219-4a3c-826f-2683e2be9851","html_url":"https://github.com/shengyanli1982/load-ants","commit_stats":null,"previous_names":["shengyanli1982/load-ants"],"tags_count":13,"template":false,"template_full_name":null,"purl":"pkg:github/shengyanli1982/load-ants","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shengyanli1982%2Fload-ants","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shengyanli1982%2Fload-ants/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shengyanli1982%2Fload-ants/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shengyanli1982%2Fload-ants/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shengyanli1982","download_url":"https://codeload.github.com/shengyanli1982/load-ants/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shengyanli1982%2Fload-ants/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29963121,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-01T06:55:38.174Z","status":"ssl_error","status_checked_at":"2026-03-01T06:53:04.810Z","response_time":124,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["cache","clash","dns","dns-forwarder","dns-over-https","dns-server","docker","doh","high-performance","optimization","proxy","proxy-server","rust","v2ray"],"created_at":"2025-06-15T12:00:43.787Z","updated_at":"2026-03-01T07:11:32.414Z","avatar_url":"https://github.com/shengyanli1982.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"中文 | [English](./README_EN.md)\n\n\u003cdiv align=\"center\"\u003e\n    \u003ch1\u003eLOAD ANTS\u003c/h1\u003e\n    \u003ch4\u003e🐜🐜🐜 轻量级 DNS 分流转发器：支持 UDP/TCP/DoH 入站，上游支持 DoH 与传统 DNS（UDP/TCP）\u003c/h4\u003e\u003c/br\u003e\u003c/br\u003e\n    \u003ca href=\"https://shengyanli1982.github.io/load-ants/\"\u003e\n        \u003cimg src=\"./images/logo.png\" alt=\"logo\" width=\"600\"\u003e\n    \u003c/a\u003e\n\u003c/div\u003e\n\n\u003cp align=\"center\"\u003e\n    \u003c!-- 徽章：许可证、DeepWiki --\u003e\n    \u003ca href=\"https://github.com/shengyanli1982/load-ants/blob/main/LICENSE\"\u003e\u003cimg src=\"https://img.shields.io/github/license/shengyanli1982/load-ants\" alt=\"license\"\u003e\u003c/a\u003e\n    \u003ca href=\"https://deepwiki.com/shengyanli1982/load-ants\"\u003e\u003cimg src=\"https://deepwiki.com/badge.svg\" alt=\"Ask DeepWiki\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n**Load Ants** 是一款专为提升网络隐私、安全与灵活性而生的高性能、多功能 DNS 代理服务。\n\n### 核心功能\n\n- 🔄 **多协议入站**: 支持 UDP/53、TCP/53 与 DoH 入站。\n- 🌐 **多上游协议**: 上游支持 DoH 与传统 DNS（UDP/TCP）。\n- 🧠 **智能路由**: 根据域名模式（精确、通配符、正则）路由 DNS 查询。\n- ⚡ **高性能缓存**: 内置缓存机制，显著降低延迟。\n- ⚖️ **灵活上游管理**: 上游分组 + 多种负载均衡策略（轮询/加权/随机）。\n\n### 📚 阅读完整文档！\n\n所有详细文档，包括配置、部署指南和高级用法，均已迁移至我们的专属文档网站。\n\n**[➡️ 访问官方文档网站](https://shengyanli1982.github.io/load-ants/)**\n\n### 配置校验（重要）\n\n- 必须至少配置 `static_rules` 或 `remote_rules` 之一（至少一个规则来源）。\n- 必须至少存在一个 `action: forward` 的规则，否则程序会在启动阶段报错退出。\n- 只要存在任何 `forward` 规则：必须配置 `upstream_groups`，且所有 `target` 必须引用已存在的上游组名。\n- 可用命令校验配置（校验通过后直接退出）：\n\n```bash\nloadants --test -c ./config.yaml\n```\n\n### 🚀 快速开始\n\n使用 Docker 在几秒钟内启动并运行：\n\n```bash\n# 为您的配置创建一个目录\nmkdir -p ./load-ants-config\n# 下载默认配置以开始使用\nwget -O ./load-ants-config/config.yaml https://raw.githubusercontent.com/shengyanli1982/load-ants/main/config.default.yaml\n# 根据您的需求编辑 config.yaml，然后运行：\ndocker run -d \\\n  --name load-ants \\\n  -p 53:53/udp \\\n  -p 53:53/tcp \\\n  -p 8080:8080 \\\n  -v $(pwd)/load-ants-config:/etc/load-ants \\\n  ghcr.io/shengyanli1982/load-ants-x64:latest -c /etc/load-ants/config.yaml\n```\n\n### 开源许可\n\n本项目采用 [MIT 许可证](./LICENSE) 授权。\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshengyanli1982%2Fload-ants","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshengyanli1982%2Fload-ants","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshengyanli1982%2Fload-ants/lists"}