2.1.4 • Published 2 years ago

nali-cli v2.1.4

Weekly downloads
37
License
GPL-3.0
Repository
github
Last release
2 years ago

Installation

yarn global add nali-cli
# npm install nali-cli -g

Prebuilt binaries is also available under the bin directory of the GitHub Repo.

Execute nali to download qqwry.dat right after installation:

$ nali

Required IP Database qqwry.dat will begin to download automatically during first time execution.

Usage

Query a simple IP address:

$ nali 1.145.1.4

1.145.1.4 [澳大利亚 墨尔本 Telstra]

Query IP addresses:

$ nali 114.5.1.4 191.919.8.10 1.0.0.1

114.5.1.4 [印度尼西亚] 191.919.8.10 1.0.0.1 [美国 APNIC&CloudFlare 公共 DNS 服务器]

Query IP addresses from stdin:

$ dig blog.skk.moe +short | nali

104.18.101.28 [美国 CloudFlare 公司 CDN 节点]
104.18.100.28 [美国 CloudFlare 公司 CDN 节点]

Use Nali CLI built-in tools:

nali-nslookup blog.skk.moe

Server:         1.0.0.1 [美国 APNIC&CloudFlare 公共 DNS 服务器]
Address:        1.0.0.1 [美国 APNIC&CloudFlare 公共 DNS 服务器]#53

Non-authoritative answer:
Name:   blog.skk.moe
Address: 104.18.101.28 [美国 CloudFlare 公司 CDN 节点]
Name:   blog.skk.moe
Address: 104.18.100.28 [美国 CloudFlare 公司 CDN 节点]
Name:   blog.skk.moe
Address: 2606:4700::6812:641c
Name:   blog.skk.moe
Address: 2606:4700::6812:651c

Nali CLI has built-in tools:

  • nali-dig
  • nali-nslookup
  • nali-ping
  • nali-tracepath
  • nali-traceroute

Nali required related software installed. For example, in order to use nali-dig and nali-nslookup you need to have bind (dnsutils) installed.

Update IP Database:

nali update

Interface

$ nali --help

Usage: nali <command> [options]

Options:
  -v, --version  版本信息
  -h, --help     output usage information

Commands:
  parse          解析 stdin 或参数中的 IP 信息 (默认)
  update         更新 IP 库
  help [cmd]     display help for [cmd]

Related

Author

Nali CLI © Sukka, Released under the GPL-3.0 License. Authored and maintained by Sukka with help from contributors (list).

Personal Website · Blog · GitHub @SukkaW · Telegram Channel @SukkaChannel · Twitter @isukkaw · Keybase @sukka

2.1.4

4 years ago

2.1.3

4 years ago

2.1.2

4 years ago

2.1.1

4 years ago

2.1.0

4 years ago

2.1.0-beta-3

4 years ago

2.1.0-beta-2

4 years ago

2.1.0-beta

4 years ago

2.0.1

4 years ago

1.0.0

4 years ago

2.0.0

4 years ago

0.1.5

4 years ago

0.1.4

4 years ago

0.1.3

4 years ago

0.1.0

4 years ago

0.1.2

4 years ago

0.1.1

4 years ago

0.0.1

4 years ago