diff options
| author | Shulhan <ms@kilabit.info> | 2022-04-14 23:34:09 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2022-04-15 00:25:05 +0700 |
| commit | 4d3ab7f49410eb2b774a7c9e25ba10a1efbd1413 (patch) | |
| tree | eae4f143752ff1f6b48f1763399ff6a7f4215f53 /_doc/resolver.adoc | |
| parent | 358c5ee72207c37712e44edcdb479c97f1266c8a (diff) | |
| download | rescached-4d3ab7f49410eb2b774a7c9e25ba10a1efbd1413.tar.xz | |
cmd/resolver: implement command to search the caches
The "caches" command accept sub command "search" with a string
argument.
Given the following command "caches search bit", the resolver will
call HTTP API to rescached server to search for caches that have name
contains bit.
Diffstat (limited to '_doc/resolver.adoc')
| -rw-r--r-- | _doc/resolver.adoc | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/_doc/resolver.adoc b/_doc/resolver.adoc index e71b406..d529394 100644 --- a/_doc/resolver.adoc +++ b/_doc/resolver.adoc @@ -101,6 +101,14 @@ Fetch and print all caches from rescached server. -- +caches search <string>:: ++ +-- +Search the domain name in rescached caches. +This command can also be used to inspect each DNS message on the caches. +-- + + == EXIT STATUS Upon exit and success +resolver+ will return 0, or 1 otherwise. @@ -131,10 +139,15 @@ name server kilabit.info, $ resolver -ns=https://kilabit.info/dns-query query kilabit.info -Inspect the rescached's caches on server at http://127.0.0.1:5380 +Inspect the rescached's caches on server at http://127.0.0.1:5380, $ resolver -server=http://127.0.0.1:5380 caches +Search caches that contains "bit" on the domain name, + + $ resolver -server=http://127.0.0.1:5380 caches search bit + + == AUTHOR This software is developed by M. Shulhan (ms@kilabit.info). |
