Git Product home page Git Product logo

china-dns's People

Contributors

leo-mao avatar riaqn avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

leo-mao

china-dns's Issues

第一版Relases运行main函数报错

@riaqn 提供的第一版Release 根据README中的运行方法,
ZHINA_TCP_TIMEOUT=2000000 ./zhina-dns < china.txt
返回如下的错误

[ThreadId 1 : Main.main] Error writing log message: Prelude.read: no parse (original message: [ThreadId 1 : Main.main] zhina-dns: Prelude.read: no parse

使用本机stack编译的版本运行
stack exec zhina-dns < ~/china.txt
依旧报上述错误。

IPv6 support

This would be three steps:

  1. adding AAAA record in the resolve library
  2. adding the ability to read IPv6 ranges from china.txt(basically I will copy from iproute package)
  3. adding the ability of identifying Chinese IPv6 address.

Better EDNS support

  1. fix several hacking/hardcoding in resolve, so on the resolver side we have better EDNS client.
  2. also on the server side, we should add EDNS support someday.

`resolv.conf` support

Currently only one upstream server(one for each of Chinese and foreign) is supported, while some users may wish to use a dynamic resolv.conf as upstream. We hope to address this problem.

  1. adding resolv.conf support in resolve library
  2. adding this to zhina-dns would be quite easy.

Switch for Foreign UDP upstream

Currently only TCP is used for foreign DNS. This is based on the observation that the most widely used proxies(shadowsocks) is STREAM-based(UDP is supported but is proxied via UDP, which is fucked by the QoS of many ISP, making it unusable).

However, some users may have fast and stable access to the UDP 53 port on the DNS server, which invalidates the above concern. Thus, we need to add a command-line switch to switch on foreign UDP upstream.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.