百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
G

greendns

> DevOps
开源

一个无毒且对 CDN 友好的递归 DNS 解析器

200 stars0 点赞0 次浏览
访问官网GitHub

工具介绍

一个无毒且对 CDN 友好的递归 DNS 解析器

greendns

A DNS recursive resolve server to avoid result being poisoned and friendly to CDN. It will qeury dns servers at the same time and don't wait for all responses. It's more efficient and quicker than ChinaDNS.

CDN-friendly means the resolved IP is the best(Same ISP and the nearest). The Foreign DNS with edns-client-subnet returned IP is not that accurate, especially for the local small ISP.

You must config at least two dns servers. One part is local and poisoned, the other part is unpoisoned(tunnel through VPN or use OpenDNS 443/5353 port, dnscrypt-proxy is recommended).

How it works

…

It has two assumptions,

  • the polluted domain is foreign.
  • the A record in poisoned response is foreign.

Install

bash
pip install greendns

Run

terminal command

bash
greendns -r greendns

daemon service

go to services

Dockerfile

go to greendns-container

docker stack (recommended)

go to greendns-stack

Test

bash
dig www.google.com @127.0.0.1 -p1053

Configure

…

Perf

benchmark result

perf.md

profile

prof.md

Acknowledgements

  • @clowwindy: the author of the ChinaDNS

License

This project is under the MIT license. See the LICENSE file for the full license text.

Issues· 1 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Pythoncdnchinadnsdns-resolverprivate-dns

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类DevOps
定价开源

> 相关工具

D
Docker
容器化平台,标准化应用交付
G
GitHub Actions
GitHub 原生 CI/CD 工作流
N
Nginx
高性能 Web 服务器与反向代理