diff options
| author | Shulhan <ms@kilabit.info> | 2022-04-20 01:19:39 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2022-04-20 01:19:39 +0700 |
| commit | 80718f34042298ccef7db0396471d2e00d60d893 (patch) | |
| tree | 785ea6281d6de542b66add71e56b74e254ca05eb /_doc/resolver.adoc | |
| parent | 289bb8e6bd9e6d8dcad93f92a1602779170c7fe6 (diff) | |
| download | rescached-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.adoc | 10 |
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:: + -- |
