Fix dns_min_ttl config doc.
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
parent
996a5488be
commit
897322964c
2 changed files with 8 additions and 6 deletions
|
|
@ -285,9 +285,10 @@ pub struct Config {
|
|||
|
||||
/// Minimum time-to-live in seconds for entries in the DNS cache. The
|
||||
/// default may appear high to most administrators; this is by design as the
|
||||
/// majority of NXDOMAINs are correct for a long time (e.g. the server is no
|
||||
/// longer running Matrix). Only decrease this if you are using an external
|
||||
/// DNS cache.
|
||||
/// exotic loads of federating to many other servers require a higher TTL
|
||||
/// than many domains have set. Even when using an external DNS cache the
|
||||
/// problem is shifted to that cache which is ignorant of its role for
|
||||
/// this application and can adhere to many low TTL's increasing its load.
|
||||
///
|
||||
/// default: 10800
|
||||
#[serde(default = "default_dns_min_ttl")]
|
||||
|
|
|
|||
|
|
@ -214,9 +214,10 @@
|
|||
|
||||
# Minimum time-to-live in seconds for entries in the DNS cache. The
|
||||
# default may appear high to most administrators; this is by design as the
|
||||
# majority of NXDOMAINs are correct for a long time (e.g. the server is no
|
||||
# longer running Matrix). Only decrease this if you are using an external
|
||||
# DNS cache.
|
||||
# exotic loads of federating to many other servers require a higher TTL
|
||||
# than many domains have set. Even when using an external DNS cache the
|
||||
# problem is shifted to that cache which is ignorant of its role for
|
||||
# this application and can adhere to many low TTL's increasing its load.
|
||||
#
|
||||
#dns_min_ttl = 10800
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue