Crates.io | hitdns |
lib.rs | hitdns |
version | 0.6.7 |
source | src |
created_at | 2024-01-23 12:01:56.591489 |
updated_at | 2024-12-06 04:55:55.052078 |
description | hitdns is a DNS forward server optimized for cache hit ratio and query latency. |
homepage | |
repository | https://github.com/delta4chat/hitdns |
max_upload_size | |
id | 1110748 |
size | 546,353 |
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.