GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — Performance Performance
Frank Denis edited this page
Independently from the protocol, dnscrypt-proxy implements features to reduce DNS latency. If you don't have IPv6 connectivity, most applications will keep sending DNS queries to resolve IPv6 IP addresses no matter what. In this scenario, dnscrypt-proxy can immediately respond "there are no IPv6 addresses" instead of sending queries to upstream DNS servers, and waiting for useless responses. In order to do so, change: block_ipv6 = false to block_ipv6 = true in the configuration file. Note: some operating systems, notably macOS, may be confused by blocked IPv6 responses. If you notice queries that cannot be properly resolved, do not enable this feature. You may also want to avoid probing resolvers that are only accessible using IPv6: ipv6_servers = false The proxy has a built-in DNS cache, that keeps responses to recent queries in memory. The first time a query is made, a network exchange is required. But the second time the same query is made, if the response is still valid, it will be immediately sent from memory. This improves resilience against network failures, drastically reduces latency, and enhances privacy because fewer queries are sent to third-party servers. The cache is enabled by default ( cache_size = 4096 cache_min_ttl = 2400 cache_max_ttl = 86400 cache_neg_min_ttl = 60 cache_neg_max_ttl = 600 The TTL represents how long, in seconds, an entry will be kept in memory. In the example configuration above, a response will be kept at least for 40 minutes, at most for 1 day, and if a question receives "this doesn't exist" as a response, this will be stored for 1 minute. Read more about it here.
In most cases, the default cache settings don't need to be changed. You can check that the cache works by using a tool such as In most cases the TLS connection to the DoH server will use the most appropriate cipher suite automatically, according to your hardware capabilities. In simple terms, devices with hardware AES support should use an AES suite, and those that don't should use a ChaCha20-Poly1305 suite. Also TLS version 1.3 is preferred if the server supports it. You can view the cipher suite (e.g. For example - many MIPS, ARM and older Intel 32-bit based devices do not have hardware accelerated AES so should ideally use If a suboptimal cipher suite is automatically chosen, you can attempt to force a specific suite with the In some cases, a suboptimal suite is automatically selected but cannot be improved. For example - Reference - cipher_suites.go Starting with version 2.1.10, hot-reloading of configuration files is disabled by default to reduce CPU and memory usage. Hot-reloading allows you to modify filtering rules, cloaking rules, and other configuration files without restarting the proxy. To enable hot-reloading, add the following to your configuration file: enable_hot_reload = true When hot-reloading is enabled, the proxy will monitor the following files for changes:
For most users, keeping hot-reloading disabled (the default) is recommended for optimal performance. Only enable it if you frequently modify your configuration files and want changes to take effect immediately without restarting the proxy.
Clone this wiki locally |
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |