freedns-go

command module
v0.0.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 25, 2019 License: MIT Imports: 5 Imported by: 0

README

freedns-go

Optimized DNS Server for Chinese users.

freedns-go uses 2 upstream. One is local DNS upstream like 114, another one is remote DNS upstream like 8.8.8.8. If the results contain any non-China IP or meet some errors, it will use the remote DNS result. This setting is CDN friendly.

The cache policy is Lazy Cache. If there are some querys are expired but it in cache, it will return the old cached value and update it automatically.

Usage

You can download the prebuilt binary from the releases page.

sudo ./freedns-go -f 114.114.114.114:53 -c 8.8.8.8:53 -l 0.0.0.0:53
host baidu.com 127.0.0.1

freedns-go just dispatch your queries to the optimal upstream. You should ensure you can access trustable DNS upstream (e.g. 8.8.8.8) by yourself. You can do that by port forwarding, or anyways you like.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL