Skip to content

Hit DNS - Probably the world's fastest DNS forwarder

License

Notifications You must be signed in to change notification settings

delta4chat/hitdns

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hit DNS - Probably the world's fastest DNS forwarder

crates.io

License

GitHub Workflow Status GitHub Tag GitHub last commit GitHub code size in bytes

hitdns has low query latency and a high cache hit rate. This is because it will return the last available DNS resolution result whenever possible (regardless of whether its TTL has expired) and if it does expired, it will start an update task in the background, instead of "waiting for the upstream DNS recursor to return the latest result" like other DNS resolvers (e.g. dnsmasq).

So hitdns users will only experience delays the first time they query a domain they've never queried before, and every time they query this domain after that, they'll get near-instantaneous response latency.

How to clone this repository

the bin branch contains a lot of large files for pre-compiled binaries, you may want to exclude these large files, you can clone only master branch that contains source code only.

git clone https://github.com/delta4chat/hitdns --single-branch

or just filter these blobs

git clone https://github.com/delta4chat/hitdns --filter=blob:limit=1M