diff options
| author | Shulhan <ms@kilabit.info> | 2022-05-11 01:55:01 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2022-05-11 01:55:01 +0700 |
| commit | 1c3e6525b18f7c88d0155f856518a89415d0d95e (patch) | |
| tree | eb6285f3b88ac193fd835e9a22e71abc79fe4f2d /_sys/usr | |
| parent | a619e95df4d64ca7a8ddf41d996b62dc23334f9f (diff) | |
| download | rescached-1c3e6525b18f7c88d0155f856518a89415d0d95e.tar.xz | |
cmd/resolver: implement command to add new record to hosts file
The command has the following signature,
resolver hosts.d rr add <name> <domain> <value>
Given the hosts file name "hosts" and domain "my.hosts" with value
"127.0.0.1", it will add new line "127.0.0.1 my.hosts" to the "hosts"
file.
If the domain name already exists, the new record will be appended
instead of replaced.
Diffstat (limited to '_sys/usr')
| -rw-r--r-- | _sys/usr/share/man/man1/resolver.1.gz | bin | 2470 -> 2811 bytes |
1 files changed, 0 insertions, 0 deletions
diff --git a/_sys/usr/share/man/man1/resolver.1.gz b/_sys/usr/share/man/man1/resolver.1.gz Binary files differindex 635cd25..61dc96c 100644 --- a/_sys/usr/share/man/man1/resolver.1.gz +++ b/_sys/usr/share/man/man1/resolver.1.gz |
