A command-line application for retrieving IP addresses and server names from the internet.
- Go (version 1.13 or higher) installed on your machine
- Clone the repository:
git clone https://github.com/nicktheodoro/ip-and-server-lookup.git
- Open a terminal and navigate to the project directory:
cd ip-and-server-lookup
- Build the application:
go build
--host: Specify the target host (default: github.com)
To retrieve IP addresses associated with a host, use the following command:
./ip-and-server-lookup.exe ip --host example.com
To retrieve server names associated with a host, use the following command:
./ip-and-server-lookup.exe servers --host example.com
This project is licensed under the MIT License.