GithubHelp home page GithubHelp logo

classicvalues / knot-resolver Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cz-nic/knot-resolver

3.0 2.0 0.0 16.43 MB

Knot Resolver - resolve DNS names like it's 2021

Home Page: https://www.knot-resolver.cz/

License: Other

Makefile 0.07% C 65.72% Shell 2.69% Lua 20.15% Python 3.97% Go 0.28% Emacs Lisp 0.01% JavaScript 1.04% CSS 0.62% Smarty 0.15% Dockerfile 0.74% Meson 2.29% Roff 0.14% Jinja 1.88% Nix 0.25%

knot-resolver's Introduction

Knot Resolver

Build Status Coverage Status Documentation Status

Knot Resolver is a caching full resolver implementation written in C and LuaJIT, both a resolver library and a daemon. The core architecture is tiny and efficient, and provides a foundation and a state-machine like API for extensions. There are three modules built-in - iterator, validator, cache, and a few more are loaded by default. Most of the rich features are written in Lua(JIT) and C. Batteries are included, but optional.

The LuaJIT modules, support DNS privacy and DNSSEC, and persistent cache with low memory footprint make it a great personal DNS resolver or a research tool to tap into DNS data. TL;DR it's the OpenResty of DNS.

Strong filtering rules, and auto-configuration with etcd make it a great large-scale resolver solution.

The server adopts a different scaling strategy than the rest of the DNS recursors - no threading, shared-nothing architecture (except MVCC cache that may be shared) that allows you to pin instances on available CPU cores and grow by self-replication. You can start and stop additional nodes depending on the contention without downtime.

It also has strong support for DNS over TCP, notably TCP Fast-Open, query pipelining and deduplication, and response reordering.

Packages

The latest stable packages for various distributions are available in our upstream repository. Follow the installation instructions to add this repository to your system.

Knot Resolver is also available from the following distributions' repositories.

Building from sources

Knot Resolver mainly depends on Knot DNS libraries, LuaJIT and libuv. See the Building project documentation page for more information.

Docker image

This is simple and doesn't require any dependencies or system modifications, just run:

$ docker run -Pit cznic/knot-resolver

The images are meant as an easy way to try knot-resolver, and they're not designed for production use.

Running

The project builds a resolver library in the lib directory, and a daemon in the daemon directory. It requires no configuration or parameters to run a server on localhost.

$ kresd

See the documentation at knot-resolver.readthedocs.io for more options.

Contacting us

knot-resolver's People

Contributors

vcunat avatar tkrizek avatar pspacek avatar vavrusa avatar karel-slany-nic-cz avatar dkg avatar balaziks avatar libor-peltan-cznic avatar jruzicka-nic avatar fcelda avatar spiffyk avatar ulrichwisser avatar alesmrazek avatar daurnimator avatar paveldol avatar helb avatar hectorm avatar jsoref avatar unicycle2 avatar paulosv avatar alexforster avatar lotia avatar andir avatar cscm avatar salzmdan avatar davidjb avatar hasnat avatar jholusa avatar payne-x6 avatar ja-pa avatar

Stargazers

 avatar  avatar Classic Values avatar

Watchers

 avatar  avatar

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.