https://github.com/darkopavlovic/host-lookup-cli
CLI tool to query DNS records.
https://github.com/darkopavlovic/host-lookup-cli
cli golang network
Last synced: 4 months ago
JSON representation
CLI tool to query DNS records.
- Host: GitHub
- URL: https://github.com/darkopavlovic/host-lookup-cli
- Owner: darkopavlovic
- License: mit
- Created: 2021-02-27T05:20:08.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2025-03-03T08:28:06.000Z (over 1 year ago)
- Last Synced: 2025-12-17T05:24:12.636Z (6 months ago)
- Topics: cli, golang, network
- Language: Go
- Homepage:
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Host Lookup CLI [](https://github.com/ellerbrock/open-source-badges/)
CLI tool to query DNS records. This tool uses the net package from Go's standard library to perform common DNS queries.
# Usage
- Prerequisite: Go 1.23.X
- Clone the repo and run with `go run cli.go command --host www.example.com`
###### Available commands
- `ns` ➡️ Look up host name servers
- `ip` ➡️ Look up host IP addresses
- `cname` ➡️ Look up host CNAME
- `mx` ➡️ Look up host MX records
# License
This project is licensed under the MIT License.