aboutsummaryrefslogtreecommitdiff
path: root/_doc/resolver.adoc
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2022-04-20 01:19:39 +0700
committerShulhan <ms@kilabit.info>2022-04-20 01:19:39 +0700
commit80718f34042298ccef7db0396471d2e00d60d893 (patch)
tree785ea6281d6de542b66add71e56b74e254ca05eb /_doc/resolver.adoc
parent289bb8e6bd9e6d8dcad93f92a1602779170c7fe6 (diff)
downloadrescached-80718f34042298ccef7db0396471d2e00d60d893.tar.xz
cmd/resolver: implement command to update block.d hosts by its name
The following command: "resolver block.d update x" will fetch the latest hosts file from the block.d provider "x" based on its registered URL.
Diffstat (limited to '_doc/resolver.adoc')
-rw-r--r--_doc/resolver.adoc10
1 files changed, 10 insertions, 0 deletions
diff --git a/_doc/resolver.adoc b/_doc/resolver.adoc
index 179b976..d259983 100644
--- a/_doc/resolver.adoc
+++ b/_doc/resolver.adoc
@@ -94,6 +94,16 @@ List of valid types,
The "class" parameter is optional, its either IN (default), CS, or HS.
--
+block.d update <name>::
++
+--
+Fetch the latest hosts file from remote block.d URL defined by
+its name.
+On success, the hosts file will be updated and the server will be
+restarted.
+--
+
+
caches::
+
--