network-cli

command module
v0.0.0-...-f69b7a5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 22, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

README

network-cli

Simple command line interface

usage

Pretty simple and straighforward yet powerful cli almost ready for use.

Run simply:


go run cli.go command --host <host_name>

i.e

go run cli.go ns --host github.com
go run cli.go ip --host github.com
go run cli.go cname --host github.com
go run cli.go mx --host github.com
go run cli.go port --host github.com

Which will return Name server of the host:

dns1.p08.nsone.net.
dns3.p08.nsone.net.
ns-421.awsdns-52.com.
ns-520.awsdns-01.net.
ns-1283.awsdns-32.org.
dns2.p08.nsone.net.
dns4.p08.nsone.net.
ns-1707.awsdns-21.co.uk.

IP address of the host:

140.82.121.3

CNAME of the host:

github.com.

MX record of the host:

aspmx.l.google.com. 1
alt1.aspmx.l.google.com. 5
alt2.aspmx.l.google.com. 5
alt4.aspmx.l.google.com. 10
alt3.aspmx.l.google.com. 10

and port:

https port: 443

List of commands can be found by issuing:


go run cli.go --help

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL