IPFAS (IP Finder as well as Server Names) is a simple command-line tool written in Go that allows you to fetch IP addresses and name servers related to a domain. You can easily look up this information using the provided commands.
- Fetch IP addresses for a given domain.
- Retrieve name servers (NS) associated with a domain.
Ensure you have Go installed in your environment. You can download and install Go from the official site: https://golang.org/dl/.
-
Clone the repository:
git clone https://github.com/urxfa/ipfas.git
-
Navigate to the project directory:
cd ipfas
-
Install the dependencies:
go get -u github.com/urfave/cli
-
Build the application:
go build
Once you've installed the dependencies and built the project, you can start using the tool.
./ipfas <command> [options]
ip
: Find the IP addresses associated with a domain.nameservers
: Retrieve the name servers associated with a domain.
-
Find IP addresses for a domain:
./ipfas ip -host www.google.com
Output:
List of Ips for this Domain: 172.217.0.0 142.250.0.0
-
Find name servers for a domain:
./ipfas nameservers -host amazon.com.br
Output:
List of NS for this Domain: ns1.amazon.com ns2.amazon.com
-host
: Specify the domain name for which you want to find the IP addresses or name servers. Default is `amazon.com.br` if no domain is provided.
This project is licensed under the MIT License. See the LICENSE file for more details.
Feel free to submit issues or pull requests. Any contribution to improve this tool is welcome!