Giter VIP home page Giter VIP logo

find-ip's Introduction

Find IP - CLI Application

Overview

Find IP is a command-line application written in Go that allows users to search for IP addresses and server names associated with a given hostname. The application leverages the urfave/cli package to provide a straightforward interface for performing these lookups.

Features

  • IP Lookup: Search for IP addresses associated with a specified hostname.
  • Server Lookup: Search for server names (NS records) associated with a specified hostname.

Installation

To install and run the Find IP application, you need to have Go installed on your machine. You can download and install Go from the official website.

Steps to Install

  1. Clone the repository:

    git clone https://github.com/Bbarbosa7/find-ip.git
    cd find-ip
  2. Build the application:

    go build -o find-ip
  3. Run the application:

    ./find-ip

Usage

The Find IP application provides two main commands: ip and server. Both commands accept a --host flag to specify the hostname you want to look up.

IP Lookup

To search for IP addresses associated with a hostname:

./find-ip ip --host www.example.com

or using the alias:

./find-ip i --host www.example.com

Server Lookup

To search for server names (NS records) associated with a hostname:

./find-ip server --host www.example.com

or using the alias:

./find-ip s --host www.example.com

Project Structure

The project is organized as follows:

.
├── app
│   └── app.go      # Contains the main CLI application logic
├── find-ip         # Compiled binary after building the application
├── go.mod          # Go module file
├── go.sum          # Go dependencies file
└── main.go         # Entry point of the application

Contributing

Contributions are welcome! Please fork the repository and submit a pull request with your changes.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Contact

For any inquiries or issues, please contact [email protected].


By following the instructions above, you should be able to set up and use the Find IP application to search for IP addresses and server names associated with any hostname. Happy searching!

find-ip's People

Contributors

b92c avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.