Skip to content
This repository has been archived by the owner on Nov 14, 2020. It is now read-only.

aa-ko/smartdns

Repository files navigation

DNS proxy

What is this?

I wanted something like pi-hole that would also automatically choose the fastest DNS server and implement simple caching. Also I wanted to customize my DNS server configuration based on the device the request came from and define specific rules for the cache.

Since I could not find any implementation that provided all these features I started this project.

Requirements

  • NodeJS 8.11.1
  • tsc 2.8.3

How do I use it?

  • Clone this repository
  • Run tsc (TypeScript compiler) in the root directory of the repository
  • Run node ./dist/app.js
  • The proxy should now be listening to DNS requests on your local machine's port 53

Please note that currenty only UDP IPv4 requests are supported!

Roadmap

  1. Fully implement IPv6 and requests via TCP
  2. Automatically choose fastest server
  3. Adblock functionality
  4. Smarter caching
  5. Monitoring
  6. Web UI

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages