Skip to content
This repository has been archived by the owner on Apr 26, 2018. It is now read-only.

louchenyao/freedns

Repository files navigation

It's been deprecated! Recommend to use freedns-go instead.

已经不建议使用这个库!

free-dns

A high-efficient-cache and anti-spoofing DNS Server.

The upstream base on the Google's DNS-Over-HTTPS.

Setup

Server

git clone https://github.com/Chenyao2333/freedns.git
cd freedns
npm install
sudo node index.js

You can set the EDNS_IP in index.js to your subnet, to utilize EDNS optimize upstream results.

And you can open http://localhost:5353/ in browser to check internal status.

Client

Change the DNS server ip to your setuped freedns ip address. Different OS has different way to change DNS server, you can get help through Baidu or Google. Or just change your router's DHCP DNS to freedns is an alternative way.

Cache

freedns uses "Lazy Update" as cache policy. If a requst is experied, it just returns a old results and add this request to queue and update results when connecting is idle.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published