npm.io
0.5.1 • Published 6 months agoCLI

cacheable-dns

Licence
MIT
Version
0.5.1
Deps
16
Size
33 kB
Vulns
0
Weekly
0

cacheable-dns

Install

npm install --global cacheable-dns
# or
yarn global add cacheable-dns

Usage

Usage: cacheable-dns [options] <server>

Options:
  -V, --version                       output the version number
  --timeout <seconds>                  (default: "30")
  --port <port>                        (default: "53")
  --time-to-live <seconds>
  --stale-while-revalidate <seconds>
  --stale-if-error <seconds>
  --cache <filename>                  The filename of disk cache, memory cache is used by default
  --log <level>                        (default: "info")
  -h, --help                          display help for command

Keywords