Git Product home page Git Product logo

prdns's Introduction

Purified DNS

A DNS forward server offers correct results for both GFW polluted domains and CDN-enabled domains in China.

It does NOT rely on any domain/ip database (e.g. GFWlist, GeoIP etc), maintenance free, highly reliable.

Installation

With ruby >= 2.4.2 installed on your system, run the command below in your terminal(*nix) or CMD box:

gem install prdns

Usage

  • local test purpose only: run 'prdns'
  • local server: run 'prdns -l localhost'
  • public server or for intranet: run 'prdns -l 0.0.0.0', or 'prdns -l 0.0.0.0 -l [::]' for both ipv4 & ipv6

Run `prdns -h' for more help

Run as Service

  • linux-like: use of supervisord is recommended.
  • macOS: use the plist file included in gem's lib dir as a template for launchd.

Notes:

prdns does NOT support DoH nor DoT, so there are three choices for picking an authentic upstream DNS server (-a):

  1. A DNS server outside GFW listen on port other than 53 (currently, only port 53 gets polluted);
  2. There's a trustful route (via Shadowsocks/V2ray/Trojan, etc) accessing a DNS server outside GFW;
  3. A local DNS forward server which supports DoH or DoT, configured with a DoH or DoT enabled upstream DNS server outside GFW.

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/arloan/prdns.

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.