aboutsummaryrefslogtreecommitdiff
path: root/_www
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2026-02-03 03:58:01 +0700
committerShulhan <ms@kilabit.info>2026-02-03 03:59:04 +0700
commitd30b17c4db1392c19b11c3af7a47051f8dd6568a (patch)
tree4b3f0ec995c60203261269f883a48097138b855c /_www
parent58678a935adbf324c4a36dbddcc286f6a6f4f655 (diff)
downloadrescached-d30b17c4db1392c19b11c3af7a47051f8dd6568a.tar.xz
all: add option to set minimum TTL
In the rescached.cfg, we add option where user can force the minimum TTL in the DNS answer. This option is not a standard and not recommended used in public facing network. It should be used only for personal and private network.
Diffstat (limited to '_www')
-rw-r--r--_www/doc/rescached.cfg.adoc11
1 files changed, 11 insertions, 0 deletions
diff --git a/_www/doc/rescached.cfg.adoc b/_www/doc/rescached.cfg.adoc
index 2e19cac..ef32b18 100644
--- a/_www/doc/rescached.cfg.adoc
+++ b/_www/doc/rescached.cfg.adoc
@@ -70,6 +70,17 @@ dnsmasq_resolv=/etc/rescached/resolv.conf
----
--
+[#minimum_ttl]
+==== minimum_ttl
+
+Format:: integer
+Default:: 0 (disabled)
+Description:: Force the TTL in the answer to this value.
+The value is in seconds, default to 0 (disabled).
+Note that this option is not standard and obviously not recommended
+for resolver facing public networks.
+It should be used only in personal or private network.
+
[#debug]
==== debug