Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/marialuizaleitao/website-info-cli
A command-line application written in Go that retrieves and displays the IP address and hosting server information for a given website.
https://github.com/marialuizaleitao/website-info-cli
cli-app dns-lookup go
Last synced: about 2 months ago
JSON representation
A command-line application written in Go that retrieves and displays the IP address and hosting server information for a given website.
- Host: GitHub
- URL: https://github.com/marialuizaleitao/website-info-cli
- Owner: marialuizaleitao
- Created: 2024-06-29T20:22:14.000Z (6 months ago)
- Default Branch: master
- Last Pushed: 2024-06-29T21:48:28.000Z (6 months ago)
- Last Synced: 2024-07-12T04:59:48.363Z (6 months ago)
- Topics: cli-app, dns-lookup, go
- Language: Go
- Homepage:
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Website Info CLI
Website Info CLI is a command-line application written in Go that allows you to search for IP addresses and server names on the Internet using DNS lookup.
## Features
- **Search IP Addresses**: Retrieve IP addresses associated with a given host name.
- **Search Server Names**: Retrieve server names associated with a given host name.## Usage
### Installation
Make sure you have Go installed. Then, clone the repository:
```bash
git clone https://github.com/marialuizaleitao/website-info-cli.git
cd website-info-cli
```### Running the Application
To run the application, use the following command:```bash
go run main.go
```#### Commands
**ip Command**
Searches for IP addresses associated with a given host name.```bash
go run main.go ip --host example.com
```
Replace example.com with the host name you want to search.**servers Command**
Searches for server names associated with a given host name.```bash
go run main.go servers --host example.com
```
Replace example.com with the host name you want to search.## Dependencies
`github.com/urfave/cli`: A powerful package for creating command-line interfaces in Go.
`net`: Standard Go package for network operations.## Contributing
Contributions are welcome! If you have suggestions or find any issues, please open an issue or submit a pull request.